code: def test_arange_of_shape():
      x = vector("x")
      out = ptb.arange(1, x.shape[-1], 2)
      fgraph = FunctionGraph([x], [out])
      compare_jax_and_py(fgraph, [np.zeros((5,))])
  
imports: import numpy
  import pytest
  from pytensor.compile import get_mode
  import jax.errors
  import pytensor
  import pytensor.tensor.basic
  from pytensor.configdefaults import config
  from pytensor.graph.fg import FunctionGraph
  from pytensor.graph.op import get_test_value
  from pytensor.tensor.type import iscalar, matrix, scalar, vector
  from tests.link.jax.test_basic import compare_jax_and_py
  from tests.tensor.test_basic import TestAlloc
label_desc: Use image node_id 5 for calling a global function with example usage: test_arange_of_shape() without return types