class_docstr: Context object for writing abstract implementations for custom operators.
class_docstr_tok: ["Context","object","for","writing","abstract","implementations","for","custom","operators","."]
code: def __init__(self, _shape_env, _op):
      self._shape_env = _shape_env
      self._op = _op
  
file_path: pytorch/torch/_library/abstract_impl.py
imports: import contextlib
  import functools
  import warnings
  from typing import Callable, Optional
  import torch
  from torch._library.utils import Kernel, RegistrationHandle
label_desc: Use image node_id 1 to create a new AbstractImplCtx object  with example: obj = AbstractImplCtx(_shape_env, _op)