Trait coaster::tensor::IntoTensorDesc
source · pub trait IntoTensorDesc {
// Required method
fn into(&self) -> TensorDesc;
}
Expand description
Describes a conversion into a Tensor Descriptor.
This allows for convenient creation of a new SharedTensor. e.g. (2, 4) -> [2,4] or () -> [] or 2 -> [2]
Required Methods§
sourcefn into(&self) -> TensorDesc
fn into(&self) -> TensorDesc
Converts the implemented type into a TensorDesc.