class_docstr: Python representation of a xla.OpMetadata protobuf.
class_docstr_tok: ["Python","representation","of","a","xla.OpMetadata","protobuf","."]
code: def __init__(
      self, op_type="", op_name="", source_file="", source_line=0
  ):
      self.op_type = op_type
      self.op_name = op_name
      self.source_file = source_file
      self.source_line = source_line
  
imports: from __future__ import annotations
  import atexit
  import contextlib
  import enum
  import gzip
  import inspect
  import logging
  import os
  import threading
  from typing import Any, List, Mapping, Optional, Sequence, Tuple, Union
  import ml_dtypes
  import numpy
  from .None import xla_extension
label_desc: Use image node_id 1 to create a new OpMetadata object  with example: obj = OpMetadata(op_type, op_name, source_file, source_line)