Struct tensorflow::ops::GroupByWindowDataset
source · pub struct GroupByWindowDataset { /* private fields */ }
Expand description
Builder for the GroupByWindowDataset
operation.
Implementations§
source§impl GroupByWindowDataset
impl GroupByWindowDataset
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 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 window_size_func<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn window_size_func<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the window_size_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 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 Twindow_size_func_other_arguments<ArgType: Into<Vec<DataType>>>(
self,
value: ArgType
) -> Self
pub fn Twindow_size_func_other_arguments<ArgType: Into<Vec<DataType>>>( self, value: ArgType ) -> Self
Sets the Twindow_size_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 metadata<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn metadata<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the metadata
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,
key_func_other_arguments: O1,
reduce_func_other_arguments: O2,
window_size_func_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, key_func_other_arguments: O1, reduce_func_other_arguments: O2, window_size_func_other_arguments: O3, scope: &mut Scope ) -> Result<Operation>
Builds the GroupByWindowDataset
operation.
sourcepub fn build_instance(
&self,
input_dataset: Output,
key_func_other_arguments: Output,
reduce_func_other_arguments: Output,
window_size_func_other_arguments: Output,
scope: &mut Scope
) -> Result<GroupByWindowDatasetInst>
pub fn build_instance( &self, input_dataset: Output, key_func_other_arguments: Output, reduce_func_other_arguments: Output, window_size_func_other_arguments: Output, scope: &mut Scope ) -> Result<GroupByWindowDatasetInst>
Builds a new instance of ‘GroupByWindowDataset’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for GroupByWindowDataset
impl Debug for GroupByWindowDataset
source§impl Default for GroupByWindowDataset
impl Default for GroupByWindowDataset
source§fn default() -> GroupByWindowDataset
fn default() -> GroupByWindowDataset
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for GroupByWindowDataset
impl Send for GroupByWindowDataset
impl Sync for GroupByWindowDataset
impl Unpin for GroupByWindowDataset
impl UnwindSafe for GroupByWindowDataset
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