Struct tensorflow::ops::CompressElement
source · [−]pub struct CompressElement { /* private fields */ }Expand description
Builder for the CompressElement operation.
Implementations
sourceimpl 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.
Trait Implementations
sourceimpl Debug for CompressElement
impl Debug for CompressElement
sourceimpl Default for CompressElement
impl Default for CompressElement
sourcefn 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
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