Trait IntoArcTensor

Source
pub trait IntoArcTensor: Sized {
    // Required method
    fn into_arc_tensor(self) -> Arc<Tensor>;
}
Expand description

Convenient conversion to Arc.

Required Methods§

Source

fn into_arc_tensor(self) -> Arc<Tensor>

Convert Self to a Arc.

May perform a copy

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.

Implementors§