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