Struct ITensor
Defined in File tensor_object.hpp
Base Types
public morpheus::ITensorStorage
(Struct ITensorStorage)public morpheus::ITensorOperations
(Struct ITensorOperations)
Derived Type
public morpheus::RMMTensor
(Class RMMTensor)
-
struct ITensor : public morpheus::ITensorStorage, public morpheus::ITensorOperations
Subclassed by morpheus::RMMTensor
Public Functions
- ~ITensor() override = default
- virtual RankType rank() const = 0
- virtual TensorIndex count() const = 0
- virtual DType dtype() const = 0
- virtual TensorIndex shape(TensorIndex) const = 0
- virtual TensorIndex stride(TensorIndex) const = 0
- virtual intptr_t stream() const = 0
- virtual bool is_compact() const = 0
- inline ShapeType get_shape() const
- inline ShapeType get_stride() const