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