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