Struct tensorflow::ops::UncompressElement
source · [−]pub struct UncompressElement { /* private fields */ }
Expand description
Builder for the UncompressElement
operation.
Implementations
sourceimpl 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
sourceimpl Debug for UncompressElement
impl Debug for UncompressElement
sourceimpl Default for UncompressElement
impl Default for UncompressElement
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more