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