code: def in_qdq(compute_dtype, inp, scale, amax_history):
      qin, _, _ = qdq_and_return(
          inp, jnp.float8_e4m3fn, scale, amax_history, compute_dtype
      )
      return qin
  
imports: import warnings
  from functools import partial
  from jax import custom_jvp, custom_vjp, lax, random
  from jax import numpy
  from flax.linen import initializers, module
label_desc: Use image node_id 8 for calling a global function with example usage: in_qdq(compute_dtype, inp, scale, amax_history) and returns: qin