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