|
Mila 0.13.48
Deep Neural Network Library
|
Primary traits template for unified compile-time operation dispatch. More...
Primary traits template for unified compile-time operation dispatch.
Each specialization must provide a nested type alias naming the concrete operation class for the given (OperationType, DeviceType, precision, policy) combination. The primary template is intentionally undefined – an unspecialized instantiation is a hard compile error.
| TOp | Operation identifier from the OperationType enum. |
| TDeviceType | Target device (Cpu, Cuda, ...). |
| TPrecision | Compute and activation precision. |
| TPolicy | Optional policy type. Defaults to void for policy-free ops. |