diffusion_rs_common::core

Function from_storage_no_op

source
pub fn from_storage_no_op<S: Into<Shape>>(
    storage: Storage,
    shape: S,
    is_variable: bool,
) -> Tensor
Expand description

Creates a fresh tensor structure based on a storage and a shape, this uses contiguous strides. This has a BackpropOp:none().