burn::tensor::quantization

Trait QTensorPrimitive

pub trait QTensorPrimitive {
    // Required method
    fn scheme(&self) -> &QuantizationScheme;
}
Expand description

Quantized tensor primitive.

Required Methods§

fn scheme(&self) -> &QuantizationScheme

Returns the quantization scheme for the given tensor.

Implementations on Foreign Types§

§

impl<R> QTensorPrimitive for FusionTensor<R>
where R: FusionRuntime,

§

impl<R> QTensorPrimitive for RouterTensor<R>
where R: RunnerClient,

Implementors§

§

impl QTensorPrimitive for CandleQTensor

§

impl QTensorPrimitive for TchQTensor

§

impl<Q> QTensorPrimitive for NdArrayQTensor<Q>
where Q: QuantElement,

§

impl<R> QTensorPrimitive for JitTensor<R>
where R: JitRuntime,