code: def set_func_by_name(self, func, name):
      self.name_to_func_mapping[name] = func
  
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 4 for calling the TorchOpsRegistry obj's underlying member method code with example usage: obj.set_func_by_name(func, name) without return types