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