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: Freeze,
<B as Backend>::QuantizedTensorPrimitive: Freeze,
impl<B> RefUnwindSafe for CalibrationRange<B>where
<B as Backend>::FloatTensorPrimitive: RefUnwindSafe,
<B as Backend>::QuantizedTensorPrimitive: RefUnwindSafe,
impl<B> Send for CalibrationRange<B>
impl<B> Sync for CalibrationRange<B>
impl<B> Unpin for CalibrationRange<B>
impl<B> UnwindSafe for CalibrationRange<B>where
<B as Backend>::FloatTensorPrimitive: UnwindSafe,
<B as Backend>::QuantizedTensorPrimitive: 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)