MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.basecode.SimpleDatumCollection Class Reference

The SimpleDatumCollection holds a named array of SimpleDatums More...

Inheritance diagram for MyCaffe.basecode.SimpleDatumCollection:

Public Member Functions

 SimpleDatumCollection (int nCount, string strName="", List< int > rgShape=null)
 The constructor. More...
 
IEnumerator< SimpleDatumGetEnumerator ()
 Get the enumerator for the collection. More...
 

Properties

object Tag [getset]
 Get/set a user defined value. More...
 
List< int > Shape [get]
 Returns the shape of the items within the array (including the array count as the first element). More...
 
string Name [getset]
 Get/set the name of the array. More...
 
int Count [get]
 Get the number of items in the array. More...
 
SimpleDatum this[int nIdx] [getset]
 Get/set an item in the array at a specified index. More...
 

Detailed Description

The SimpleDatumCollection holds a named array of SimpleDatums

Definition at line 2955 of file SimpleDatum.cs.

Constructor & Destructor Documentation

◆ SimpleDatumCollection()

MyCaffe.basecode.SimpleDatumCollection.SimpleDatumCollection ( int  nCount,
string  strName = "",
List< int >  rgShape = null 
)

The constructor.

Parameters
nCountSpecifies the number of items in the array.
strNameOptionally, specifies the name of the array (default = "").
rgShapeOptionally, specifies the shape of the items within the array.

Definition at line 2969 of file SimpleDatum.cs.

Member Function Documentation

◆ GetEnumerator()

IEnumerator< SimpleDatum > MyCaffe.basecode.SimpleDatumCollection.GetEnumerator ( )

Get the enumerator for the collection.

Returns
The enumerator for the collection is returned.

Definition at line 3029 of file SimpleDatum.cs.

Property Documentation

◆ Count

int MyCaffe.basecode.SimpleDatumCollection.Count
get

Get the number of items in the array.

Definition at line 3009 of file SimpleDatum.cs.

◆ Name

string MyCaffe.basecode.SimpleDatumCollection.Name
getset

Get/set the name of the array.

Definition at line 3000 of file SimpleDatum.cs.

◆ Shape

List<int> MyCaffe.basecode.SimpleDatumCollection.Shape
get

Returns the shape of the items within the array (including the array count as the first element).

Definition at line 2992 of file SimpleDatum.cs.

◆ Tag

object MyCaffe.basecode.SimpleDatumCollection.Tag
getset

Get/set a user defined value.

Definition at line 2983 of file SimpleDatum.cs.

◆ this[int nIdx]

SimpleDatum MyCaffe.basecode.SimpleDatumCollection.this[int nIdx]
getset

Get/set an item in the array at a specified index.

Parameters
nIdxSpecifies the index of the item to get or set.
Returns
The item at the index is returned.

Definition at line 3019 of file SimpleDatum.cs.


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