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