pub struct FakeQuantWithMinMaxVarsGradient { /* private fields */ }
Expand description
Builder for the FakeQuantWithMinMaxVarsGradient
operation.
Implementations§
Source§impl FakeQuantWithMinMaxVarsGradient
impl FakeQuantWithMinMaxVarsGradient
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 FakeQuantWithMinMaxVarsGradient
impl Default for FakeQuantWithMinMaxVarsGradient
Source§fn default() -> FakeQuantWithMinMaxVarsGradient
fn default() -> FakeQuantWithMinMaxVarsGradient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FakeQuantWithMinMaxVarsGradient
impl RefUnwindSafe for FakeQuantWithMinMaxVarsGradient
impl Send for FakeQuantWithMinMaxVarsGradient
impl Sync for FakeQuantWithMinMaxVarsGradient
impl Unpin for FakeQuantWithMinMaxVarsGradient
impl UnwindSafe for FakeQuantWithMinMaxVarsGradient
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