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