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