Mila
Deep Neural Network Library
|
Class responsible for registering the CudaEncoderOp operation. More...
Static Public Member Functions | |
static void | registerOperations () |
Registers the CudaEncoderOp operation with the OperationRegistry. | |
Static Public Attributes | |
static bool | isRegistered |
Self-registration mechanism that registers the operation during startup. | |
Class responsible for registering the CudaEncoderOp operation.
The CudaEncoderOpRegistrar class registers the CudaEncoderOp operation with the OperationRegistry. It associates the operation name "Cuda::EncoderOp" with a factory function that creates instances of CudaEncoderOp with appropriate template parameters.
|
inlinestatic |
Registers the CudaEncoderOp operation with the OperationRegistry.
This function registers the CudaEncoderOp operation for the CUDA device type with the OperationRegistry. It associates the operation name "Cuda::EncoderOp" with a factory function that creates instances of CudaEncoderOp.
|
inlinestatic |
Self-registration mechanism that registers the operation during startup.
This static member ensures the operation is registered when the program starts without requiring explicit registration calls.