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