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