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

The Batch contains both the data and label Blobs of the batch. More...

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

Public Member Functions

 Batch (CudaDnn< T > cuda, Log log)
 The Batch constructor. More...
 
void Dispose ()
 Release all GPU and host resources used (if any). More...
 

Properties

Blob< T > Data [get]
 Returns the data Blob of the batch. More...
 
Blob< T > Label [get]
 Returns the label Blob of the batch. More...
 

Detailed Description

The Batch contains both the data and label Blobs of the batch.

Template Parameters
TSpecifies the base type float or double. Using float is recommended to conserve GPU memory.

Definition at line 269 of file BasePrefetchingDataLayer.cs.

Constructor & Destructor Documentation

◆ Batch()

MyCaffe.layers.Batch< T >.Batch ( CudaDnn< T >  cuda,
Log  log 
)

The Batch constructor.

Parameters
cudaSpecifies the CudaDnn connection to Cuda.
logSpecifies the Log for output.

Definition at line 279 of file BasePrefetchingDataLayer.cs.

Member Function Documentation

◆ Dispose()

void MyCaffe.layers.Batch< T >.Dispose ( )

Release all GPU and host resources used (if any).

Definition at line 288 of file BasePrefetchingDataLayer.cs.

Property Documentation

◆ Data

Blob<T> MyCaffe.layers.Batch< T >.Data
get

Returns the data Blob of the batch.

Definition at line 295 of file BasePrefetchingDataLayer.cs.

◆ Label

Blob<T> MyCaffe.layers.Batch< T >.Label
get

Returns the label Blob of the batch.

Definition at line 303 of file BasePrefetchingDataLayer.cs.


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