Struct tensorflow::eager::raw_ops::FakeQuantWithMinMaxArgs
source · pub struct FakeQuantWithMinMaxArgs { /* private fields */ }
Expand description
FakeQuantWithMinMaxArgs
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/FakeQuantWithMinMaxArgs
Implementations§
source§impl FakeQuantWithMinMaxArgs
impl FakeQuantWithMinMaxArgs
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 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,
inputs: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, inputs: &T0 ) -> Result<TensorHandle<'a>>
Execute fake_quant_with_min_max_args.
Trait Implementations§
source§impl Clone for FakeQuantWithMinMaxArgs
impl Clone for FakeQuantWithMinMaxArgs
source§fn clone(&self) -> FakeQuantWithMinMaxArgs
fn clone(&self) -> FakeQuantWithMinMaxArgs
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 FakeQuantWithMinMaxArgs
impl Debug for FakeQuantWithMinMaxArgs
Auto Trait Implementations§
impl RefUnwindSafe for FakeQuantWithMinMaxArgs
impl Send for FakeQuantWithMinMaxArgs
impl Sync for FakeQuantWithMinMaxArgs
impl Unpin for FakeQuantWithMinMaxArgs
impl UnwindSafe for FakeQuantWithMinMaxArgs
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