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