C# Class GoodAI.Modules.Matrix.MyMatrixKernelOps

Perform operations that are defined by kernel
Inheritance: MyMatrixOps
ファイルを表示 Open project: GoodAI/BrainSimulator Class Usage Examples

Public Methods

Method Description
AvailableOperations ( ) : MatOperation
MyMatrixKernelOps ( MyWorkingNode callee, MatOperation operations, MyMemoryBlock A = null, MyMemoryBlock B = null ) : GoodAI.Core
Run ( MatOperation operation, MyMemoryBlock A ) : void
Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock Result ) : void
Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock B, MyMemoryBlock Result ) : void
Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock Result, int AColumnHint ) : void

Enables overriding the dimensions to be applicable on tensors

Run ( MatOperation operation, MyMemoryBlock A, float value, MyMemoryBlock Result ) : void

Private Methods

Method Description
iDivDown ( int a, int b ) : int
iDivUp ( int a, int b ) : int

Method Details

AvailableOperations() public static method

public static AvailableOperations ( ) : MatOperation
return MatOperation

MyMatrixKernelOps() public method

public MyMatrixKernelOps ( MyWorkingNode callee, MatOperation operations, MyMemoryBlock A = null, MyMemoryBlock B = null ) : GoodAI.Core
callee MyWorkingNode
operations MatOperation
A MyMemoryBlock
B MyMemoryBlock
return GoodAI.Core

Run() public method

public Run ( MatOperation operation, MyMemoryBlock A ) : void
operation MatOperation
A MyMemoryBlock
return void

Run() public method

public Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock Result ) : void
operation MatOperation
A MyMemoryBlock
Result MyMemoryBlock
return void

Run() public method

public Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock B, MyMemoryBlock Result ) : void
operation MatOperation
A MyMemoryBlock
B MyMemoryBlock
Result MyMemoryBlock
return void

Run() public method

Enables overriding the dimensions to be applicable on tensors
public Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock Result, int AColumnHint ) : void
operation MatOperation
A MyMemoryBlock
Result MyMemoryBlock
AColumnHint int
return void

Run() public method

public Run ( MatOperation operation, MyMemoryBlock A, float value, MyMemoryBlock Result ) : void
operation MatOperation
A MyMemoryBlock
value float
Result MyMemoryBlock
return void