TensorRefAPI

Trait TensorRefAPI 

Source
pub trait TensorRefAPI<'l>: TensorViewAPI { }

Implementors§

Source§

impl<'l, R, T, B, D> TensorRefAPI<'l> for &'l TensorBase<Storage<R, T, B>, D>
where D: DimAPI, R: DataAPI<Data = <B as DeviceRawAPI<T>>::Raw>, B: DeviceAPI<T>, &'l TensorBase<Storage<R, T, B>, D>: TensorViewAPI,

Source§

impl<'l, T, B, D> TensorRefAPI<'l> for TensorBase<Storage<DataRef<'l, <B as DeviceRawAPI<T>>::Raw>, T, B>, D>
where D: DimAPI, B: DeviceAPI<T>, TensorBase<Storage<DataRef<'l, <B as DeviceRawAPI<T>>::Raw>, T, B>, D>: TensorViewAPI,