pub struct RouterTensor<C: RunnerClient> {
pub client: C,
/* private fields */
}Expand description
Tensor primitive for the router backend.
Fields§
§client: CThe 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 settings for the given tensor.
Source§fn acc_precision(&self) -> QuantAcc
fn acc_precision(&self) -> QuantAcc
The precision used for the accumulation in various kernels.
Source§fn propagation(&self) -> QuantPropagation
fn propagation(&self) -> QuantPropagation
How quantization is propagated during computation.
Source§fn default_scheme() -> QuantScheme
fn default_scheme() -> QuantScheme
Returns the default tensor quantization scheme.
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