Mila
Deep Neural Network Library
|
Class responsible for registering the CpuCrossEntropyOp operation. More...
Static Public Member Functions | |
static void | registerOperations () |
Registers the CpuCrossEntropyOp operation with the OperationRegistry. | |
Static Public Attributes | |
static bool | isRegistered |
Self-registration mechanism that registers the operation during startup. | |
Class responsible for registering the CpuCrossEntropyOp operation.
The CpuCrossEntropyOpRegistrar class registers the CpuCrossEntropyOp operation with the OperationRegistry. It associates the operation name "Cpu::CrossEntropyOp" with a factory function that creates instances of CpuCrossEntropyOp.
|
inlinestatic |
Registers the CpuCrossEntropyOp operation with the OperationRegistry.
This function registers the CpuCrossEntropyOp operation for the CPU device type with the OperationRegistry. It associates the operation name "Cpu::CrossEntropyOp" with a factory function that creates instances of CpuCrossEntropyOp.
|
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.