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