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