docstr: A torch op is considered inplace if the op name endswith ``_``.
docstr_tok: ["A","torch","op","is","considered","inplace","if","the","op","name","endswith","``","_","``","."]
code: def is_inplace_op(self, op_lookup: str):
      """
      A torch op is considered inplace if the op name endswith ``_``.
      """
      return not (
          op_lookup.startswith("__") and op_lookup.endswith("__")
      ) and op_lookup.endswith("_")
  
file_path: coremltools/coremltools/converters/mil/frontend/torch/torch_op_registry.py
imports: from typing import Callable, List
  import torch
  from coremltools import _logger
  from coremltools.models._deprecation import deprecated
label_desc: Use image node_id 5 for calling the TorchOpsRegistry obj's underlying member method code with example usage: obj.is_inplace_op(op_lookup) and returns: unknown