Skip to main content

IntoArcTensor

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".

Implementations on Foreign Types§

Source§

impl IntoArcTensor for Arc<Tensor>

Source§

impl<D: Dimension, T: Datum> IntoArcTensor for Array<T, D>

Implementors§