MyCaffe  1.11.8.27
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.nt.LayerFactory MyCaffe.layers.ssd.LayerFactory

Public Member Functions

Layer< double > CreateDouble (CudaDnn< double > cuda, Log log, LayerParameter p, CancelEvent evtCancel, IXImageDatabaseBase imgDb)
 Create the layers when using the double base type. More...
 
Layer< float > CreateSingle (CudaDnn< float > cuda, Log log, LayerParameter p, CancelEvent evtCancel, IXImageDatabaseBase imgDb)
 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,
IXImageDatabaseBase  imgDb 
)

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.
imgDbSpecifies an interface to the image 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.nt.LayerFactory, and MyCaffe.layers.ssd.LayerFactory.

◆ CreateSingle()

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

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.
imgDbSpecifies an interface to the image 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.nt.LayerFactory, and MyCaffe.layers.ssd.LayerFactory.


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