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