code: def rand_ranged_matrix(minimum, maximum, shape):
      return np.asarray(
          np.random.random(shape) * (maximum - minimum) + minimum,
          dtype=pytensor.config.floatX,
      )
  
imports: import numpy
  import pytest
  import pytensor
  import pytensor.typed_list
  from pytensor import sparse
  from pytensor.tensor.type import TensorType, integer_dtypes, matrix, scalar, tensor3, vector
  from pytensor.tensor.type_other import SliceType
  from pytensor.tensor.variable import TensorVariable
  from pytensor.typed_list.basic import Append, Count, Extend, GetItem, Index, Insert, Length, Remove, Reverse, make_list
  from pytensor.typed_list.type import TypedListType
label_desc: Use image node_id 1 for calling a global function with example usage: rand_ranged_matrix(minimum, maximum, shape) and returns: np