Trait QTensorPrimitive

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

Quantized tensor primitive.

Required Methods§

fn scheme(&self) -> &QuantScheme

Returns the quantization scheme for the given tensor.

Implementations on Foreign Types§

§

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

§

fn scheme(&self) -> &QuantScheme

Implementors§