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