Enum candle_core::scalar::TensorScalar
source · pub enum TensorScalar {
Tensor(Tensor),
Scalar(Tensor),
}
Variants§
Auto Trait Implementations§
impl Freeze for TensorScalar
impl !RefUnwindSafe for TensorScalar
impl Send for TensorScalar
impl Sync for TensorScalar
impl Unpin for TensorScalar
impl !UnwindSafe for TensorScalar
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more