class_docstr: Deprecated: use context.configure_fit() instead.
class_docstr_tok: ["Deprecated",":","use","context.configure_fit","(",")","instead","."]
docstr: Deprecated: use context.configure_fit() instead.
docstr_tok: ["Deprecated",":","use","context.configure_fit","(",")","instead","."]
code: def __init__(
      self,
      sequence: tf.keras.utils.Sequence,
      use_multiprocessing: bool = False,
      workers: int = 1,
      max_queue_size: int = 10,
  ):
      """
      Deprecated: use context.configure_fit() instead.
      """
  
      self.sequence = sequence
      self.use_multiprocessing = use_multiprocessing
      self.workers = workers
      self.max_queue_size = max_queue_size
  
file_path: determined/harness/determined/keras/_data.py
imports: import math
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  import tensorflow
  import determined
  from determined import keras
  from determined.common import check
label_desc: Use image node_id 1 to create a new SequenceAdapter object  with example: obj = SequenceAdapter(sequence, use_multiprocessing, workers, max_queue_size)