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