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