code: def dtypes_x_reshape(draw):
      dtypes, x = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("valid"),
              shape=helpers.get_shape(
                  allow_none=False,
                  min_num_dims=1,
                  max_num_dims=5,
                  min_dim_size=1,
                  max_dim_size=10,
              ),
          )
      )
      shape = draw(helpers.reshape_shapes(shape=np.array(x).shape))
      return dtypes, x, shape
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/test_manipulation_routines/test_changing_array_shape.py
imports: import numpy
  from hypothesis import strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
label_desc: Use image node_id 2 for calling a global function with example usage: dtypes_x_reshape(draw) and returns: dtypes,  x,  shape