class_docstr: A `Dataset` that groups its input and performs a reduction.
class_docstr_tok: ["A","`","Dataset","`","that","groups","its","input","and","performs","a","reduction","."]
docstr: Make wrapping defun for init_func.
docstr_tok: ["Make","wrapping","defun","for","init_func","."]
code: def _make_init_func(self, init_func):
      """Make wrapping defun for init_func."""
      self._init_func = structured_function.StructuredFunctionWrapper(
          init_func,
          self._transformation_name(),
          input_structure=tensor_spec.TensorSpec([], dtypes.int64),
      )
  
imports: from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import structured_function
  from tensorflow.python.data.util import nest
  from tensorflow.python.data.util import structure
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.ops import gen_experimental_dataset_ops
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 3 for calling the _GroupByReducerDataset obj's underlying member method code with example usage: obj._make_init_func(init_func) without return types