pub struct FakeQuantizeDescriptor {
pub numel: i32,
pub q_min: i32,
pub q_max: i32,
pub input_element: ElementKind,
}Expand description
Descriptor for a fake_quantize forward op.
Fields§
§numel: i32Total element count.
q_min: i32Lower clip bound.
q_max: i32Upper clip bound.
input_element: ElementKindInput FP element kind.
Trait Implementations§
Source§impl Clone for FakeQuantizeDescriptor
impl Clone for FakeQuantizeDescriptor
Source§fn clone(&self) -> FakeQuantizeDescriptor
fn clone(&self) -> FakeQuantizeDescriptor
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 FakeQuantizeDescriptor
Auto Trait Implementations§
impl Freeze for FakeQuantizeDescriptor
impl RefUnwindSafe for FakeQuantizeDescriptor
impl Send for FakeQuantizeDescriptor
impl Sync for FakeQuantizeDescriptor
impl Unpin for FakeQuantizeDescriptor
impl UnsafeUnpin for FakeQuantizeDescriptor
impl UnwindSafe for FakeQuantizeDescriptor
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