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