code: def find_op_id_in_block(self, target_op):
      try:
          idx = self.operations.index(target_op)
      except ValueError:
          raise ValueError(
              "Op {} not found in {}: {}".format(
                  target_op.name, self.name, self
              )
          )
      return idx
  
imports: import copy
  from collections import Counter, OrderedDict
  from typing import Tuple
  from coremltools import _OPSET
  from coremltools import _logger
  from coremltools.converters.mil._deployment_compatibility import AvailableTarget
  from .None import SPACES, types
  from .operation import Operation
  from .types.symbolic import is_symbolic, k_used_symbols
  from .var import ComplexVar, InternalVar, Var
  from .visitors.dot_visitor import DotVisitor
label_desc: Use image node_id 10 for calling the Block obj's underlying member method code with example usage: obj.find_op_id_in_block(target_op) and returns: idx