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