pub trait ValuesArg<B: Backend>: Sized {
// Required method
fn into_values(
self,
device: &B::Device,
) -> Result<DynTensor<B>, DynTensorError>;
}Expand description
Values conversion trait for DynTensor::slice_assign.
Required Methods§
Sourcefn into_values(self, device: &B::Device) -> Result<DynTensor<B>, DynTensorError>
fn into_values(self, device: &B::Device) -> Result<DynTensor<B>, DynTensorError>
Convert to a DynTensor on a given device.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.