pub struct FakeQuantWithMinMaxArgsGradient { /* private fields */ }
Expand description
Builder for the FakeQuantWithMinMaxArgsGradient
operation.
Implementations§
Source§impl FakeQuantWithMinMaxArgsGradient
impl FakeQuantWithMinMaxArgsGradient
Sourcepub fn narrow_range<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn narrow_range<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the narrow_range
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Default for FakeQuantWithMinMaxArgsGradient
impl Default for FakeQuantWithMinMaxArgsGradient
Source§fn default() -> FakeQuantWithMinMaxArgsGradient
fn default() -> FakeQuantWithMinMaxArgsGradient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FakeQuantWithMinMaxArgsGradient
impl RefUnwindSafe for FakeQuantWithMinMaxArgsGradient
impl Send for FakeQuantWithMinMaxArgsGradient
impl Sync for FakeQuantWithMinMaxArgsGradient
impl Unpin for FakeQuantWithMinMaxArgsGradient
impl UnwindSafe for FakeQuantWithMinMaxArgsGradient
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