SetMMLayoutTransform
Supported Products
Product |
Supported/Unsupported |
|---|---|
√ |
|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Usage
Sets the direction (M or N) to be preferentially passed through during the MMAD computation.
Prototype
1 | __aicore__ inline void SetMMLayoutTransform(bool mmLayoutMode) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
mmLayoutMode |
Input |
Controls the direction (M or N) through which the MMAD preferentially passes. The value is of the Boolean type. The options are as follows:
|
Returns
None
Constraints
None
Example
1 2 | bool mmLayoutMode = true; AscendC::SetMMLayoutTransform(mmLayoutMode); |
Parent topic: Matrix Computation