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