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

The Params contains the base parameters used in multi-GPU training. More...

Inheritance diagram for MyCaffe.common.Params< T >:
MyCaffe.common.GPUParams< T > MyCaffe.common.NCCL< T >

Public Member Functions

 Params (Solver< T > root_solver)
 The Param constructor. More...
 

Protected Attributes

long m_lCount
 size of the buffers (in items). More...
 
long m_lExtra
 size of the padding added to the memory buffers. More...
 
long m_hData
 Handle to GPU memory containing the Net parameters. More...
 
long m_hDiff
 Handle to GPU memory containing the Net gradient. More...
 
int m_nDeviceID
 The Device ID. More...
 

Properties

long count [get]
 Returns the size of the buffers (in items). More...
 
long data [get]
 Returns the handle to the GPU memory containing the Net parameters. More...
 
long diff [get]
 Returns the handle to the GPU memory containing the Net gradients. More...
 

Detailed Description

The Params contains the base parameters used in multi-GPU training.

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

Definition at line 18 of file Parallel.cs.

Constructor & Destructor Documentation

◆ Params() [1/2]

Definition at line 11253 of file CudaDnn.cs.

◆ Params() [2/2]

MyCaffe.common.Params< T >.Params ( Solver< T >  root_solver)

The Param constructor.

Parameters
root_solverSpecifies the root Solver.

Definition at line 47 of file Parallel.cs.

Member Data Documentation

◆ m_hData

long MyCaffe.common.Params< T >.m_hData
protected

Handle to GPU memory containing the Net parameters.

Definition at line 33 of file Parallel.cs.

◆ m_hDiff

long MyCaffe.common.Params< T >.m_hDiff
protected

Handle to GPU memory containing the Net gradient.

Definition at line 37 of file Parallel.cs.

◆ m_lCount

long MyCaffe.common.Params< T >.m_lCount
protected

size of the buffers (in items).

Definition at line 23 of file Parallel.cs.

◆ m_lExtra

long MyCaffe.common.Params< T >.m_lExtra
protected

size of the padding added to the memory buffers.

Definition at line 28 of file Parallel.cs.

◆ m_nDeviceID

int MyCaffe.common.Params< T >.m_nDeviceID
protected

The Device ID.

Definition at line 41 of file Parallel.cs.

Property Documentation

◆ count

long MyCaffe.common.Params< T >.count
get

Returns the size of the buffers (in items).

Definition at line 60 of file Parallel.cs.

◆ data

long MyCaffe.common.Params< T >.data
get

Returns the handle to the GPU memory containing the Net parameters.

Definition at line 68 of file Parallel.cs.

◆ diff

long MyCaffe.common.Params< T >.diff
get

Returns the handle to the GPU memory containing the Net gradients.

Definition at line 76 of file Parallel.cs.


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