class_docstr: A class to create libraries that can be used to register new operators or
  override operators in existing libraries from Python.
  A user can optionally pass in a dispatch keyname if they only want to register
  kernels corresponding to only one specific dispatch key.
  
  To create a library to override operators in an existing library (with name ns), set the kind to "IMPL".
  To create a new library (with name ns) to register new operators, set the kind to "DEF".
  To create a fragment of a possibly existing library to register operators (and bypass
  the limitation that there is only one library for a given namespace), set the kind to
  "FRAGMENT".
  
  Args:
      ns: library name
      kind: "DEF", "IMPL" (default: "IMPL"), "FRAGMENT"
      dispatch_key: PyTorch dispatch key (default: "")
code: def __repr__(self):
      return f"Library(kind={self.kind}, ns={self.ns}, dispatch_key={self.dispatch_key})>"
  
imports: from ._ops import OpOverload
  from typing import Any, Optional, Set, List
  import traceback
  import torch
  import weakref
  import functools
  import inspect
  import re
  import sys
label_desc: Use image node_id 2 for calling the Library obj's underlying member method code with example usage: obj.__repr__() and returns: str, self, str, self, str, self, str