MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.layers.MemoryDataLayerPackDataArgs< T > Class Template Reference

The MemoryDataLayerPackDataArgs is passed to the OnDataPack event which fires each time the data received in AddDatumVector needs to be packed into a specific ordering as is the case when using an LSTM network. More...

Inheritance diagram for MyCaffe.layers.MemoryDataLayerPackDataArgs< T >:

Public Member Functions

 MemoryDataLayerPackDataArgs (Blob< T > blobData, Blob< T > blobClip, Blob< T > blobLabel, List< Datum > rgData, List< Datum > rgClip, LayerParameter.LayerType type=LayerParameter.LayerType.LSTM)
 The constructor. More...
 

Properties

LayerParameter.LayerType LstmType [get]
 Returns the LSTM type. More...
 
Blob< T > Data [get]
 Returns the blob data to fill with ordered data. More...
 
Blob< T > Clip [get]
 Returns the clip data to fill with ordered data for clipping. More...
 
Blob< T > Label [get]
 Returns the label data to fill with ordered label information. More...
 
List< DatumDataItems [get]
 Returns the raw data items to use to fill. More...
 
List< DatumClipItems [get]
 Returns the raw clip items to use to fill. More...
 

Detailed Description

The MemoryDataLayerPackDataArgs is passed to the OnDataPack event which fires each time the data received in AddDatumVector needs to be packed into a specific ordering as is the case when using an LSTM network.

Template Parameters
TSpecifies the base datatype of float or double.

Definition at line 601 of file MemoryDataLayer.cs.

Constructor & Destructor Documentation

◆ MemoryDataLayerPackDataArgs()

MyCaffe.layers.MemoryDataLayerPackDataArgs< T >.MemoryDataLayerPackDataArgs ( Blob< T >  blobData,
Blob< T >  blobClip,
Blob< T >  blobLabel,
List< Datum rgData,
List< Datum rgClip,
LayerParameter.LayerType  type = LayerParameter.LayerType.LSTM 
)

The constructor.

Parameters
blobDataSpecifies the blob data to fill with the ordered data.
blobClipSpecifies the clip data to fill with the ordered data.
blobLabelSpecifies the labeld ata to fill with ordered data.
rgDataSpecifies the raw data to use to fill.
rgClipSpecifies the raw clip data to use to fill.
typeSpecifies the LSTM type.

Definition at line 619 of file MemoryDataLayer.cs.

Property Documentation

◆ Clip

Returns the clip data to fill with ordered data for clipping.

Definition at line 648 of file MemoryDataLayer.cs.

◆ ClipItems

Returns the raw clip items to use to fill.

Definition at line 672 of file MemoryDataLayer.cs.

◆ Data

Returns the blob data to fill with ordered data.

Definition at line 640 of file MemoryDataLayer.cs.

◆ DataItems

Returns the raw data items to use to fill.

Definition at line 664 of file MemoryDataLayer.cs.

◆ Label

Returns the label data to fill with ordered label information.

Definition at line 656 of file MemoryDataLayer.cs.

◆ LstmType

Returns the LSTM type.

Definition at line 632 of file MemoryDataLayer.cs.


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