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