Struct tensorflow::ops::DecodePng
source · pub struct DecodePng { /* private fields */ }
Expand description
Builder for the DecodePng
operation.
Implementations§
source§impl DecodePng
impl DecodePng
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 DecodePng
operation.
sourcepub fn build_instance(
&self,
contents: Output,
scope: &mut Scope
) -> Result<DecodePngInst>
pub fn build_instance( &self, contents: Output, scope: &mut Scope ) -> Result<DecodePngInst>
Builds a new instance of ‘DecodePng’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DecodePng
impl Send for DecodePng
impl Sync for DecodePng
impl Unpin for DecodePng
impl UnwindSafe for DecodePng
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