pub trait TensorType: Sealed {
type H;
// Required methods
fn owned() -> bool;
fn host() -> bool;
// Provided methods
fn borrowed() -> bool { ... }
fn device() -> bool { ... }
}
Expand description
A trait to represent the type of a tensor
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.