pub struct FakeQuantizeBackwardDescriptor {
pub numel: i32,
pub q_min: i32,
pub q_max: i32,
pub input_element: ElementKind,
}Expand description
Descriptor for a fake_quantize backward op.
Fields§
§numel: i32Total element count.
q_min: i32Lower clip bound from FW.
q_max: i32Upper clip bound from FW.
input_element: ElementKindInput FP element kind.
Trait Implementations§
Source§impl Clone for FakeQuantizeBackwardDescriptor
impl Clone for FakeQuantizeBackwardDescriptor
Source§fn clone(&self) -> FakeQuantizeBackwardDescriptor
fn clone(&self) -> FakeQuantizeBackwardDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FakeQuantizeBackwardDescriptor
Auto Trait Implementations§
impl Freeze for FakeQuantizeBackwardDescriptor
impl RefUnwindSafe for FakeQuantizeBackwardDescriptor
impl Send for FakeQuantizeBackwardDescriptor
impl Sync for FakeQuantizeBackwardDescriptor
impl Unpin for FakeQuantizeBackwardDescriptor
impl UnsafeUnpin for FakeQuantizeBackwardDescriptor
impl UnwindSafe for FakeQuantizeBackwardDescriptor
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