Struct tensorflow::ops::ChooseFastestBranchDataset
source · pub struct ChooseFastestBranchDataset { /* private fields */ }
Expand description
Builder for the ChooseFastestBranchDataset
operation.
Implementations§
source§impl ChooseFastestBranchDataset
impl ChooseFastestBranchDataset
sourcepub fn Targuments<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn Targuments<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the Targuments
attribute.
sourcepub fn num_elements_per_branch<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_elements_per_branch<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_elements_per_branch
attribute.
sourcepub fn branches<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
pub fn branches<ArgType: Into<Vec<String>>>(self, value: ArgType) -> Self
Sets the branches
attribute.
sourcepub fn other_arguments_lengths<ArgType: Into<Vec<i64>>>(
self,
value: ArgType
) -> Self
pub fn other_arguments_lengths<ArgType: Into<Vec<i64>>>( self, value: ArgType ) -> Self
Sets the other_arguments_lengths
attribute.
sourcepub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn output_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the output_types
attribute.
sourcepub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
pub fn output_shapes<ArgType: Into<Vec<Shape>>>(self, value: ArgType) -> Self
Sets the output_shapes
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>, O2: Into<Output>, O3: Into<Output>>(
&self,
input_dataset: O0,
ratio_numerator: O1,
ratio_denominator: O2,
other_arguments: O3,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, input_dataset: O0, ratio_numerator: O1, ratio_denominator: O2, other_arguments: O3, scope: &mut Scope ) -> Result<Operation>
Builds the ChooseFastestBranchDataset
operation.
sourcepub fn build_instance(
&self,
input_dataset: Output,
ratio_numerator: Output,
ratio_denominator: Output,
other_arguments: Output,
scope: &mut Scope
) -> Result<ChooseFastestBranchDatasetInst>
pub fn build_instance( &self, input_dataset: Output, ratio_numerator: Output, ratio_denominator: Output, other_arguments: Output, scope: &mut Scope ) -> Result<ChooseFastestBranchDatasetInst>
Builds a new instance of ‘ChooseFastestBranchDataset’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for ChooseFastestBranchDataset
impl Debug for ChooseFastestBranchDataset
source§impl Default for ChooseFastestBranchDataset
impl Default for ChooseFastestBranchDataset
source§fn default() -> ChooseFastestBranchDataset
fn default() -> ChooseFastestBranchDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ChooseFastestBranchDataset
impl Send for ChooseFastestBranchDataset
impl Sync for ChooseFastestBranchDataset
impl Unpin for ChooseFastestBranchDataset
impl UnwindSafe for ChooseFastestBranchDataset
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