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