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