MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.layers.hdf5.LayerFactory Class Reference

The LayerFactor is responsible for creating all layers implemented in the MyCaffe.layers.ssd namespace. More...

Inheritance diagram for MyCaffe.layers.hdf5.LayerFactory:
MyCaffe.ILayerCreator

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 LayerFactor is responsible for creating all layers implemented in the MyCaffe.layers.ssd namespace.

Definition at line 19 of file LayerFactory.cs.

Member Function Documentation

◆ CreateDouble()

Layer< double > MyCaffe.layers.hdf5.LayerFactory.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.

Implements MyCaffe.ILayerCreator.

Definition at line 30 of file LayerFactory.cs.

◆ CreateSingle()

Layer< float > MyCaffe.layers.hdf5.LayerFactory.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.

Implements MyCaffe.ILayerCreator.

Definition at line 51 of file LayerFactory.cs.


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