class_docstr: Materializes reports.
  
  Specifically it materializes a subnetwork's :class:`adanet.subnetwork.Report`
  instances into :class:`adanet.subnetwork.MaterializedReport` instances.
  
  Requires an input function `input_fn` that returns a tuple of:
  
  * features: Dictionary of string feature name to `Tensor`.
  * labels: `Tensor` of labels.
  
  Args:
    input_fn: The input function.
    steps: Number of steps for which to materialize the ensembles. If an
      `OutOfRangeError` occurs, materialization stops. If set to None, will
      iterate the dataset until all inputs are exhausted.
  
  Returns:
    A `ReportMaterializer` instance.
docstr: Returns the input_fn that materialize_subnetwork_reports would run on.
  
  Even though this property appears to be unused, it would be used to build
  the AdaNet model graph inside AdaNet estimator.train(). After the graph is
  built, the queue_runners are started and the initializers are run,
  AdaNet estimator.train() passes its tf.Session as an argument to
  materialize_subnetwork_reports(), thus indirectly making input_fn
  available to materialize_subnetwork_reports.
docstr_tok: ["Returns","the","input_fn","that","materialize_subnetwork_reports","would","run","on",".","Even","though","this","property","appears","to","be","unused",",","it","would","be","used","to","build","the","AdaNet","model","graph","inside","AdaNet","estimator.train","(",")",".","After","the","graph","is","built",",","the","queue_runners","are","started","and","the","initializers","are","run",",","AdaNet","estimator.train","(",")","passes","its","tf.Session","as","an","argument","to","materialize_subnetwork_reports","(",")",",","thus","indirectly","making","input_fn","available","to","materialize_subnetwork_reports","."]
code: def input_fn(self):
      """Returns the input_fn that materialize_subnetwork_reports would run on.
  
      Even though this property appears to be unused, it would be used to build
      the AdaNet model graph inside AdaNet estimator.train(). After the graph is
      built, the queue_runners are started and the initializers are run,
      AdaNet estimator.train() passes its tf.Session as an argument to
      materialize_subnetwork_reports(), thus indirectly making input_fn
      available to materialize_subnetwork_reports.
      """
      return self._input_fn
  
file_path: adanet/adanet/core/report_materializer.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  from absl import logging
  from adanet import subnetwork
  from adanet import tf_compat
  import tensorflow.compat.v2
label_desc: Use image node_id 2 for calling the ReportMaterializer obj's underlying member method code with example usage: obj.input_fn() and returns: self