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