pub struct ExperimentalGroupByReducerDataset { /* private fields */ }
Expand description
Builder for the ExperimentalGroupByReducerDataset
operation.
Implementations§
Source§impl ExperimentalGroupByReducerDataset
impl ExperimentalGroupByReducerDataset
Sourcepub fn key_func<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn key_func<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the key_func
attribute.
Sourcepub fn init_func<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn init_func<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the init_func
attribute.
Sourcepub fn reduce_func<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn reduce_func<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the reduce_func
attribute.
Sourcepub fn finalize_func<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn finalize_func<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the finalize_func
attribute.
Sourcepub fn Tkey_func_other_arguments<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn Tkey_func_other_arguments<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the Tkey_func_other_arguments
attribute.
Sourcepub fn Tinit_func_other_arguments<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn Tinit_func_other_arguments<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the Tinit_func_other_arguments
attribute.
Sourcepub fn Treduce_func_other_arguments<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn Treduce_func_other_arguments<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the Treduce_func_other_arguments
attribute.
Sourcepub fn Tfinalize_func_other_arguments<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType,
) -> Self
pub fn Tfinalize_func_other_arguments<ArgType: Into<Vec<DataType>>>( self, value: ArgType, ) -> Self
Sets the Tfinalize_func_other_arguments
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>, O4: Into<Output>>(
&self,
input_dataset: O0,
key_func_other_arguments: O1,
init_func_other_arguments: O2,
reduce_func_other_arguments: O3,
finalize_func_other_arguments: O4,
scope: &mut Scope,
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>( &self, input_dataset: O0, key_func_other_arguments: O1, init_func_other_arguments: O2, reduce_func_other_arguments: O3, finalize_func_other_arguments: O4, scope: &mut Scope, ) -> Result<Operation>
Builds the ExperimentalGroupByReducerDataset
operation.
Trait Implementations§
Source§impl Default for ExperimentalGroupByReducerDataset
impl Default for ExperimentalGroupByReducerDataset
Source§fn default() -> ExperimentalGroupByReducerDataset
fn default() -> ExperimentalGroupByReducerDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExperimentalGroupByReducerDataset
impl RefUnwindSafe for ExperimentalGroupByReducerDataset
impl Send for ExperimentalGroupByReducerDataset
impl Sync for ExperimentalGroupByReducerDataset
impl Unpin for ExperimentalGroupByReducerDataset
impl UnwindSafe for ExperimentalGroupByReducerDataset
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