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