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