Struct tensorflow::ops::TPUPartitionedOutput
source · [−]pub struct TPUPartitionedOutput { /* private fields */ }
Expand description
Builder for the TPUPartitionedOutput
operation.
Implementations
sourceimpl TPUPartitionedOutput
impl TPUPartitionedOutput
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_dim<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn partition_dim<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the partition_dim
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 TPUPartitionedOutput
operation.
sourcepub fn build_instance(
&self,
inputs: Output,
scope: &mut Scope
) -> Result<TPUPartitionedOutputInst>
pub fn build_instance(
&self,
inputs: Output,
scope: &mut Scope
) -> Result<TPUPartitionedOutputInst>
Builds a new instance of ‘TPUPartitionedOutput’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for TPUPartitionedOutput
impl Debug for TPUPartitionedOutput
sourceimpl Default for TPUPartitionedOutput
impl Default for TPUPartitionedOutput
sourcefn default() -> TPUPartitionedOutput
fn default() -> TPUPartitionedOutput
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for TPUPartitionedOutput
impl Send for TPUPartitionedOutput
impl Sync for TPUPartitionedOutput
impl Unpin for TPUPartitionedOutput
impl UnwindSafe for TPUPartitionedOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more