class_docstr: A class for visualizing execution timelines of TensorFlow steps.
class_docstr_tok: ["A","class","for","visualizing","execution","timelines","of","TensorFlow","steps","."]
docstr: Creates a new tensor tracker.
docstr_tok: ["Creates","a","new","tensor","tracker","."]
code: def _produce_tensor(
      self,
      name: str,
      timestamp: int,
      tensors_pid: int,
      allocator: str,
      num_bytes: int,
  ) -> _TensorTracker:
      """Creates a new tensor tracker."""
      object_id = len(self._tensors)
      tensor = _TensorTracker(
          name, object_id, timestamp, tensors_pid, allocator, num_bytes
      )
      self._tensors[name] = tensor
      return tensor
  
imports: import collections
  import copy
  import json
  import re
  from typing import Any, Dict, List, Optional, Tuple, Union
  from tensorflow.core.framework import step_stats_pb2
  from tensorflow.python.platform import build_info
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 9 for calling the Timeline obj's underlying member method code with example usage: obj._produce_tensor(name, timestamp, tensors_pid, allocator, num_bytes) and returns: tensor