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