Trait math::tensor::borrow_tensor::BorrowTensor
source · pub trait BorrowTensor<'a, Dtype> {
type Output;
// Required method
fn create_borrowed_tensor(
shape: TensorShape,
data: &'a TensorStorage<Dtype>
) -> Self::Output;
}
Required Associated Types§
Required Methods§
fn create_borrowed_tensor( shape: TensorShape, data: &'a TensorStorage<Dtype> ) -> Self::Output
Object Safety§
This trait is not object safe.