code: def qnode_execution_wrapper(self, qnode, targs, tkwargs):
      """Here, we overwrite the QNode execution wrapper in order
      to take into account that classical processing may be present
      inside the QNode."""
  
      tkwargs.setdefault("device_wires", qnode.device.wires)
  
      mt_fn = self.default_qnode_transform(qnode, targs, tkwargs)
  
      return mt_fn
  
file_path: pennylane/pennylane/gradients/metric_tensor.py
imports: from typing import Sequence, Callable
  import functools
  from functools import partial
  import warnings
  import numpy
  import pennylane
  from pennylane.circuit_graph import LayerData
  from pennylane.queuing import WrappedObj
  from pennylane.transforms import transform
label_desc: Use image node_id 4 for calling a global function with example usage: qnode_execution_wrapper(qnode, targs, tkwargs) and returns: mt_fn