Trait coaster::tensor::IntoTensorDesc [−][src]
pub trait IntoTensorDesc {
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
fn into(&self) -> TensorDesc
fn into(&self) -> TensorDesc
Converts the implemented type into a TensorDesc.