Struct tensorflow::ops::FakeQuantWithMinMaxVars
source · pub struct FakeQuantWithMinMaxVars { /* private fields */ }
Expand description
Builder for the FakeQuantWithMinMaxVars
operation.
Implementations§
source§impl FakeQuantWithMinMaxVars
impl FakeQuantWithMinMaxVars
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.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>(
&self,
inputs: O0,
min: O1,
max: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, inputs: O0, min: O1, max: O2, scope: &mut Scope ) -> Result<Operation>
Builds the FakeQuantWithMinMaxVars
operation.
sourcepub fn build_instance(
&self,
inputs: Output,
min: Output,
max: Output,
scope: &mut Scope
) -> Result<FakeQuantWithMinMaxVarsInst>
pub fn build_instance( &self, inputs: Output, min: Output, max: Output, scope: &mut Scope ) -> Result<FakeQuantWithMinMaxVarsInst>
Builds a new instance of ‘FakeQuantWithMinMaxVars’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for FakeQuantWithMinMaxVars
impl Debug for FakeQuantWithMinMaxVars
source§impl Default for FakeQuantWithMinMaxVars
impl Default for FakeQuantWithMinMaxVars
source§fn default() -> FakeQuantWithMinMaxVars
fn default() -> FakeQuantWithMinMaxVars
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FakeQuantWithMinMaxVars
impl Send for FakeQuantWithMinMaxVars
impl Sync for FakeQuantWithMinMaxVars
impl Unpin for FakeQuantWithMinMaxVars
impl UnwindSafe for FakeQuantWithMinMaxVars
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