code: def div(op, input, other):
      if not is_scalar(other):
          return op(input.dequantize(), other)
      # We just divide the scale
      return QTensor(input._data, op(input._scale, other))
  
imports: import numbers
  from dataclasses import dataclass, field
  from functools import partial
  from typing import Any, Callable, List, Optional
  import torch
  from .None import QTensor, dtype_info, qfallback
label_desc: Use image node_id 12 for calling a global function with example usage: div(op, input, other) and returns: QTensor, op