Package org.nd4j.linalg.api.blas.params
Class MMulTranspose
- java.lang.Object
-
- org.nd4j.linalg.api.blas.params.MMulTranspose
-
- All Implemented Interfaces:
Serializable
public class MMulTranspose extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MMulTranspose(boolean transposeA, boolean transposeB, boolean transposeResult)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MMulTranspose
allFalse()
Returns the default transpose where all are falseINDArray
exec(INDArray a, INDArray b, INDArray result)
Execute the matrix multiplication: A x B Note that if a or b have transposeA/B == true, then this is done internally.Object
getValue(Field property)
void
setProperties(Map<String,Object> properties)
Map<String,Object>
toProperties()
-
-
-
Method Detail
-
allFalse
public static MMulTranspose allFalse()
Returns the default transpose where all are false- Returns:
-
exec
public INDArray exec(INDArray a, INDArray b, INDArray result)
Execute the matrix multiplication: A x B Note that if a or b have transposeA/B == true, then this is done internally. Also, if transposeResult == true, then this is also done internally - i.e., the result array - if present - should not be transposed beforehand.- Parameters:
a
- A arrayb
- B arrayresult
- Result array (pre resultArrayTranspose if required). May be null.- Returns:
- Result array
-
-