C# Class GoodAI.Modules.Matrix.MyMatrixAutoOps

Class for performing matrix operations
Inheritance: MyMatrixOps
Mostra file Open project: GoodAI/BrainSimulator Class Usage Examples

Public Methods

Method Description
AvailableOperations ( ) : MatOperation
MyMatrixAutoOps ( MyWorkingNode callee, MatOperation operations, MyMemoryBlock A = null ) : GoodAI.Core.Memory
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. Result columnHint seems not to be used for any operation so there is no need to override it.

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

Method Details

AvailableOperations() public static method

public static AvailableOperations ( ) : MatOperation
return MatOperation

MyMatrixAutoOps() public method

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

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. Result columnHint seems not to be used for any operation so there is no need to override it.
public Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock Result, int AColumnHint ) : void
operation MatOperation
A MyMemoryBlock
Result MyMemoryBlock
AColumnHint int sees A as a matrix with this number of columns
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