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