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