Struct tensorflow::ops::RequantizePerChannel
source · pub struct RequantizePerChannel { /* private fields */ }
Expand description
Builder for the RequantizePerChannel
operation.
Implementations§
source§impl RequantizePerChannel
impl RequantizePerChannel
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 RequantizePerChannel
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<RequantizePerChannelInst>
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<RequantizePerChannelInst>
Builds a new instance of ‘RequantizePerChannel’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for RequantizePerChannel
impl Debug for RequantizePerChannel
source§impl Default for RequantizePerChannel
impl Default for RequantizePerChannel
source§fn default() -> RequantizePerChannel
fn default() -> RequantizePerChannel
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RequantizePerChannel
impl Send for RequantizePerChannel
impl Sync for RequantizePerChannel
impl Unpin for RequantizePerChannel
impl UnwindSafe for RequantizePerChannel
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