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

The Extension class is used to add new pre-processor extension DLL's to MyCaffe. More...

Inheritance diagram for MyCaffe.preprocessor.Extension< T >:

Public Member Functions

 Extension (IXMyCaffeExtension< T > iextension)
 The constructor. More...
 
void Dispose ()
 Release the processor extension. More...
 
void Initialize (string strPath)
 Initialize a new pre-processor extension and load it. More...
 
void Run (FUNCTION fn)
 Run a function on the pre-processor DLL without any arguments. More...
 
double[] Run (FUNCTION fn, double[] rgParam)
 Run a function on the pre-processor DLL with arguments. More...
 
float[] Run (FUNCTION fn, float[] rgParam)
 Run a function on the pre-processor DLL with arguments. More...
 

Detailed Description

The Extension class is used to add new pre-processor extension DLL's to MyCaffe.

Template Parameters
T

Definition at line 14 of file Extension.cs.

Constructor & Destructor Documentation

◆ Extension()

The constructor.

Parameters
iextensionSpecifies the IXMyCaffeExtension interface implemented by the MyCaffeControl.

Definition at line 58 of file Extension.cs.

Member Function Documentation

◆ Dispose()

void MyCaffe.preprocessor.Extension< T >.Dispose ( )

Release the processor extension.

Definition at line 66 of file Extension.cs.

◆ Initialize()

void MyCaffe.preprocessor.Extension< T >.Initialize ( string  strPath)

Initialize a new pre-processor extension and load it.

Parameters
strPathSpecifies the pre-processor DLL path to load.

Definition at line 80 of file Extension.cs.

◆ Run() [1/3]

void MyCaffe.preprocessor.Extension< T >.Run ( FUNCTION  fn)

Run a function on the pre-processor DLL without any arguments.

Parameters
fnSpecifies the function to run.

Definition at line 92 of file Extension.cs.

◆ Run() [2/3]

double[] MyCaffe.preprocessor.Extension< T >.Run ( FUNCTION  fn,
double[]  rgParam 
)

Run a function on the pre-processor DLL with arguments.

Parameters
fnSpecifies the function to run.
rgParamSpecifies the arguments.
Returns
The return values from the pre-processor DLL are returned.

Definition at line 103 of file Extension.cs.

◆ Run() [3/3]

float[] MyCaffe.preprocessor.Extension< T >.Run ( FUNCTION  fn,
float[]  rgParam 
)

Run a function on the pre-processor DLL with arguments.

Parameters
fnSpecifies the function to run.
rgParamSpecifies the arguments.
Returns
The return values from the pre-processor DLL are returned.

Definition at line 114 of file Extension.cs.


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