Function juice::util::native_scalar[][src]

pub fn native_scalar<T: NumCast + Copy>(scalar: T) -> SharedTensor<T>
Expand description

Create a Coaster SharedTensor for a scalar value.