Struct tensorflow::eager::raw_ops::QuantizeAndDequantize
source · pub struct QuantizeAndDequantize { /* private fields */ }
Expand description
QuantizeAndDequantize
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/QuantizeAndDequantize
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0 ) -> Result<TensorHandle<'a>>
Execute quantize_and_dequantize.
Trait Implementations§
source§impl Clone for QuantizeAndDequantize
impl Clone for QuantizeAndDequantize
source§fn clone(&self) -> QuantizeAndDequantize
fn clone(&self) -> QuantizeAndDequantize
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QuantizeAndDequantize
impl Debug for QuantizeAndDequantize
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