code: def dtype_p_shape(draw):
      dtype = draw(
          helpers.array_dtypes(available_dtypes=("float32", "float64"))
      )
      shape = draw(
          helpers.get_shape(
              allow_none=False, min_num_dims=1, max_num_dims=3
          )
      )
  
      dtype_and_probs = draw(
          helpers.dtype_and_values(
              available_dtypes=dtype,
              min_value=0,
              max_value=1,
              shape=shape,
          )
      )
      return dtype_and_probs, shape
  
imports: import pytest
  from hypothesis import strategies
  import ivy
  import numpy
  import sys
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
label_desc: Use image node_id 3 for calling a global function with example usage: dtype_p_shape(draw) and returns: dtype_and_probs,  shape