pub struct RouterTensor<C: RunnerClient> {
pub client: C,
/* private fields */
}
Expand description
Tensor primitive for the router backend.
Fields§
§client: C
The client that has this tensor
Implementations§
Trait Implementations§
Source§impl<C: RunnerClient> Clone for RouterTensor<C>
impl<C: RunnerClient> Clone for RouterTensor<C>
Source§impl<C: RunnerClient> Debug for RouterTensor<C>
impl<C: RunnerClient> Debug for RouterTensor<C>
Source§impl<C: RunnerClient> Drop for RouterTensor<C>
impl<C: RunnerClient> Drop for RouterTensor<C>
Source§impl<R: RunnerClient> QTensorPrimitive for RouterTensor<R>
impl<R: RunnerClient> QTensorPrimitive for RouterTensor<R>
Source§fn scheme(&self) -> &QuantScheme
fn scheme(&self) -> &QuantScheme
Returns the quantization scheme for the given tensor.
Source§impl<C: RunnerClient> TensorMetadata for RouterTensor<C>
impl<C: RunnerClient> TensorMetadata for RouterTensor<C>
Auto Trait Implementations§
impl<C> Freeze for RouterTensor<C>where
C: Freeze,
impl<C> RefUnwindSafe for RouterTensor<C>where
C: RefUnwindSafe,
impl<C> Send for RouterTensor<C>
impl<C> Sync for RouterTensor<C>
impl<C> Unpin for RouterTensor<C>where
C: Unpin,
impl<C> UnwindSafe for RouterTensor<C>where
C: UnwindSafe,
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