candle_core::scalar

Trait TensorOrScalar

Source
pub trait TensorOrScalar {
    // Required method
    fn to_tensor_scalar(self) -> Result<TensorScalar>;
}

Required Methods§

Implementors§