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