MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.ILayerCreator Interface Reference

The ILayerCreator interface is implemented by each MyCaffe.layers.x layer extension dll and is used to create new instances of the layers supported by each layer extension dll. More...

Inheritance diagram for MyCaffe.ILayerCreator:
MyCaffe.layers.alpha.LayerFactory MyCaffe.layers.beta.LayerFactory MyCaffe.layers.gpt.LayerFactory MyCaffe.layers.hdf5.LayerFactory MyCaffe.layers.lnn.LayerFactory MyCaffe.layers.nt.LayerFactory MyCaffe.layers.ssd.LayerFactory MyCaffe.layers.tft.LayerFactory

Public Member Functions

Layer< double > CreateDouble (CudaDnn< double > cuda, Log log, LayerParameter p, CancelEvent evtCancel, IXDatabaseBase db)
 Create the layers when using the double base type. More...
 
Layer< float > CreateSingle (CudaDnn< float > cuda, Log log, LayerParameter p, CancelEvent evtCancel, IXDatabaseBase db)
 Create the layers when using the float base type. More...
 

Detailed Description

The ILayerCreator interface is implemented by each MyCaffe.layers.x layer extension dll and is used to create new instances of the layers supported by each layer extension dll.

Definition at line 18 of file Interfaces.cs.

Member Function Documentation

◆ CreateDouble()

Layer< double > MyCaffe.ILayerCreator.CreateDouble ( CudaDnn< double >  cuda,
Log  log,
LayerParameter  p,
CancelEvent  evtCancel,
IXDatabaseBase  db 
)

Create the layers when using the double base type.

Parameters
cudaSpecifies the connection to the low-level CUDA interfaces.
logSpecifies the output log.
pSpecifies the layer parameter.
evtCancelSpecifies the cancellation event.
dbSpecifies an interface to the in-memory database, who's use is optional.
Returns
If supported, the layer is returned, otherwise null is returned.

Implemented in MyCaffe.layers.alpha.LayerFactory, MyCaffe.layers.beta.LayerFactory, MyCaffe.layers.gpt.LayerFactory, MyCaffe.layers.hdf5.LayerFactory, MyCaffe.layers.lnn.LayerFactory, MyCaffe.layers.nt.LayerFactory, MyCaffe.layers.ssd.LayerFactory, and MyCaffe.layers.tft.LayerFactory.

◆ CreateSingle()

Layer< float > MyCaffe.ILayerCreator.CreateSingle ( CudaDnn< float >  cuda,
Log  log,
LayerParameter  p,
CancelEvent  evtCancel,
IXDatabaseBase  db 
)

Create the layers when using the float base type.

Parameters
cudaSpecifies the connection to the low-level CUDA interfaces.
logSpecifies the output log.
pSpecifies the layer parameter.
evtCancelSpecifies the cancellation event.
dbSpecifies an interface to the in-memory database, who's use is optional.
Returns
If supported, the layer is returned, otherwise null is returned.

Implemented in MyCaffe.layers.alpha.LayerFactory, MyCaffe.layers.beta.LayerFactory, MyCaffe.layers.gpt.LayerFactory, MyCaffe.layers.hdf5.LayerFactory, MyCaffe.layers.lnn.LayerFactory, MyCaffe.layers.nt.LayerFactory, MyCaffe.layers.ssd.LayerFactory, and MyCaffe.layers.tft.LayerFactory.


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