pymoose.TensorType
pymoose.TensorType#
- class pymoose.TensorType(dtype)[source]#
Moose Value representing a Tensor.
This is the core type that is most commonly found throughout a Moose computation. In Moose this roughly corresponds to a Tensor in the “logical” dialect. During lowering, the compiler will eventually replace the type with more specific/concrete types based on its DType and placement.
- Parameters
dtype (
DType) – ADTypetype for the tensor.
Methods
__init__(dtype)Attributes
dtype