class_docstr: Implementation of OneDeviceStrategy.
class_docstr_tok: ["Implementation","of","OneDeviceStrategy","."]
code: def _experimental_distribute_dataset(self, dataset, options):
      # Note that split_batch_by argument is not passed because it is always 1 in
      # this strategy, and adding it adds unnecessary overhead to the dataset.
      if (
          options
          and options.experimental_replication_mode
          == distribute_lib.InputReplicationMode.PER_REPLICA
      ):
          raise NotImplementedError(
              "InputReplicationMode.PER_REPLICA "
              "is only supported in  "
              "`experimental_distribute_datasets_from_function`."
          )
      return input_util.get_distributed_dataset(
          dataset,
          self._input_workers_with_options(options),
          self._container_strategy(),
          options=options,
      )
  
imports: from tensorflow.python.distribute import device_util
  from tensorflow.python.distribute import distribute_lib
  from tensorflow.python.distribute import distribute_utils
  from tensorflow.python.distribute import input_lib
  from tensorflow.python.distribute import input_util
  from tensorflow.python.distribute import numpy_dataset
  from tensorflow.python.distribute.v1 import input_lib
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import while_loop
  from tensorflow.python.util import nest
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 10 for calling the OneDeviceExtended obj's underlying member method code with example usage: obj._experimental_distribute_dataset(dataset, options) and returns: input_util