Tr tensor#

class ivy.data_classes.factorized_tensor.tr_tensor.TRTensor(factors)[source]#

Bases: FactorizedTensor

__init__(factors)[source]#
_abc_impl = <_abc._abc_data object>#
property n_param#
to_tensor()[source]#
to_unfolded(mode)[source]#
to_vec()[source]#
static tr_n_param(tensor_shape, rank)[source]#
static tr_to_tensor(factors)[source]#
static tr_to_unfolded(factors, mode)[source]#
static tr_to_vec(factors)[source]#
static validate_tr_rank(tensor_shape, rank='same', rounding='round')[source]#
static validate_tr_tensor(factors)[source]#

This should have hopefully given you an overview of the tr_tensor submodule, if you have any questions, please feel free to reach out on our discord!