nums.core.array.blockarray module
-
class
nums.core.array.blockarray.
BlockArray
(grid, cm, blocks=None)[source] Bases:
nums.core.array.base.BlockArrayBase
-
transpose
(defer=False, redistribute=False)[source] Transpose this matrix. Only use defer with arithmetic operations. Setting redistribute to True may significantly impact performance. :param defer: When true, the transpose operation will be applied with the next arithmetic operation. :param redistribute: If defer is false, setting this to true will redistribute the data according to the device grid (data placement policy). This parameter has no effect when defer is true. :return: The transposed matrix.
-