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

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

Static Public Member Functions

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

Static Public Attributes

static bool isRegistered
 

Detailed Description

Class responsible for registering the CpuGeluOp operation.

The CpuGeluOpRegistrar class registers the CpuGeluOp operation with the OperationRegistry. It associates the operation name "Cpu::GeluOp" with a factory function that creates instances of CpuGeluOp.

Member Function Documentation

◆ registerOperations()

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

Registers the CpuGeluOp operation with the OperationRegistry.

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

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

Member Data Documentation

◆ isRegistered

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

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