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