class_docstr: A context object holding state about the TPU computation being built.
docstr: Creates a new TpuContext.
code: def __init__(self):
      """Creates a new TpuContext."""
      self._number_of_shards = None
  
file_path: tensorflow/tensorflow/python/tpu/tpu_function.py
imports: import contextlib
  import threading
label_desc: Use image node_id 1 to create a new TpuContext object from inherited base classes: threading with example: obj = TpuContext()