Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::Compute::CpuSoftmaxOpRegistrar Class Referenceexport

Class responsible for registering the CpuSoftmaxOp operation. More...

Static Public Member Functions

static void registerOperations ()
 Registers the CpuSoftmaxOp operation with the OperationRegistry.
 

Static Public Attributes

static bool isRegistered
 Self-registration mechanism that registers the operation during startup.
 

Detailed Description

Class responsible for registering the CpuSoftmaxOp operation.

The CpuSoftmaxOpRegistrar class registers the CpuSoftmaxOp operation with the OperationRegistry. It associates the operation name "Cpu::SoftmaxOp" with a factory function that creates instances of CpuSoftmaxOp.

Member Function Documentation

◆ registerOperations()

static void Mila::Dnn::Compute::CpuSoftmaxOpRegistrar::registerOperations ( )
inlinestatic

Registers the CpuSoftmaxOp operation with the OperationRegistry.

This function registers the CpuSoftmaxOp operation for the CPU device type with the OperationRegistry. It associates the operation name "Cpu::SoftmaxOp" with a factory function that creates instances of CpuSoftmaxOp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ isRegistered

bool Mila::Dnn::Compute::CpuSoftmaxOpRegistrar::isRegistered
inlinestatic
Initial value:
= []() {
return true;
}()
static void registerOperations()
Registers the CpuSoftmaxOp operation with the OperationRegistry.
Definition CpuSoftmaxOp.ixx:274

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.


The documentation for this class was generated from the following file: