MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.param.BlobProtoCollection Class Reference

Specifies a collection of BlobProtos. More...

Inheritance diagram for MyCaffe.param.BlobProtoCollection:

Public Member Functions

 BlobProtoCollection ()
 The BlobProtoCollection Constructor. More...
 
void Add (BlobProto bp)
 Add a new BlobProto to the collection. More...
 
void RemoveAt (int nIdx)
 Remove a BlobProto at a given index. More...
 
bool Remove (BlobProto bp)
 Remove a given BlobProto if it exists in the collection. More...
 
void Clear ()
 Remove all elements from the collection. More...
 
IEnumerator< BlobProtoGetEnumerator ()
 Retrive the enumerator for the collection. More...
 

Properties

int Count [get]
 Specifies the number of items in the collection. More...
 
BlobProto this[int nIdx] [getset]
 Get/set a given element in the collection. More...
 

Detailed Description

Specifies a collection of BlobProtos.

Definition at line 11 of file BlobProtoCollection.cs.

Constructor & Destructor Documentation

◆ BlobProtoCollection()

MyCaffe.param.BlobProtoCollection.BlobProtoCollection ( )

The BlobProtoCollection Constructor.

Definition at line 18 of file BlobProtoCollection.cs.

Member Function Documentation

◆ Add()

void MyCaffe.param.BlobProtoCollection.Add ( BlobProto  bp)

Add a new BlobProto to the collection.

Parameters
bpSpecifies the BlobProto.

Definition at line 45 of file BlobProtoCollection.cs.

◆ Clear()

void MyCaffe.param.BlobProtoCollection.Clear ( )

Remove all elements from the collection.

Definition at line 72 of file BlobProtoCollection.cs.

◆ GetEnumerator()

IEnumerator< BlobProto > MyCaffe.param.BlobProtoCollection.GetEnumerator ( )

Retrive the enumerator for the collection.

Returns
The enumerator is returned.

Definition at line 81 of file BlobProtoCollection.cs.

◆ Remove()

bool MyCaffe.param.BlobProtoCollection.Remove ( BlobProto  bp)

Remove a given BlobProto if it exists in the collection.

Parameters
bpSpecifies the BlobProto to remove.
Returns
If the BlobProto is found in the collection and removed, true is returned, otherwise false is returned.

Definition at line 64 of file BlobProtoCollection.cs.

◆ RemoveAt()

void MyCaffe.param.BlobProtoCollection.RemoveAt ( int  nIdx)

Remove a BlobProto at a given index.

Parameters
nIdxSpecifies the index.

Definition at line 54 of file BlobProtoCollection.cs.

Property Documentation

◆ Count

int MyCaffe.param.BlobProtoCollection.Count
get

Specifies the number of items in the collection.

Definition at line 25 of file BlobProtoCollection.cs.

◆ this[int nIdx]

BlobProto MyCaffe.param.BlobProtoCollection.this[int nIdx]
getset

Get/set a given element in the collection.

Parameters
nIdxSpecifies the index of the element.
Returns
The element at the given nIdx is returned.

Definition at line 35 of file BlobProtoCollection.cs.


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