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