otx.api.entities.tensor# This module implements the Tensor entity. Classes TensorEntity(name, numpy) Represents a metadata of tensor type in OTX. class otx.api.entities.tensor.TensorEntity(name: str, numpy: ndarray)[source]# Bases: IMetadata Represents a metadata of tensor type in OTX. Parameters: name – name of metadata numpy – the numpy data of the tensor property numpy: ndarray# Returns the numpy representation of the tensor. property shape: Tuple[int, ...]# Returns the shape of the tensor.