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