Skip to main content

IntoDevice

Trait IntoDevice 

Source
pub trait IntoDevice<T> {
    // Required method
    fn into_device(self) -> TractResult<T>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoDevice<DeviceTensor> for Arc<Tensor>

Source§

impl IntoDevice<DeviceTensor> for Tensor

Implementors§