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