Struct burn_tensor::quantization::CalibrationRange
source · pub struct CalibrationRange<B: Backend> {
pub min: Tensor<B, 1>,
pub max: Tensor<B, 1>,
}
Expand description
The observed input calibration range.
Fields§
§min: Tensor<B, 1>
Minimum observed value.
max: Tensor<B, 1>
Maximum observed value.
Trait Implementations§
source§impl<B: Clone + Backend> Clone for CalibrationRange<B>
impl<B: Clone + Backend> Clone for CalibrationRange<B>
source§fn clone(&self) -> CalibrationRange<B>
fn clone(&self) -> CalibrationRange<B>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<B> Freeze for CalibrationRange<B>where
<B as Backend>::FloatTensorPrimitive<1>: Freeze,
<B as Backend>::QuantizedTensorPrimitive<1>: Freeze,
impl<B> RefUnwindSafe for CalibrationRange<B>where
<B as Backend>::FloatTensorPrimitive<1>: RefUnwindSafe,
<B as Backend>::QuantizedTensorPrimitive<1>: RefUnwindSafe,
impl<B> Send for CalibrationRange<B>
impl<B> Sync for CalibrationRange<B>where
<B as Backend>::FloatTensorPrimitive<1>: Sync,
<B as Backend>::QuantizedTensorPrimitive<1>: Sync,
impl<B> Unpin for CalibrationRange<B>where
<B as Backend>::FloatTensorPrimitive<1>: Unpin,
<B as Backend>::QuantizedTensorPrimitive<1>: Unpin,
impl<B> UnwindSafe for CalibrationRange<B>where
<B as Backend>::FloatTensorPrimitive<1>: UnwindSafe,
<B as Backend>::QuantizedTensorPrimitive<1>: 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)