code: def test_dropout_p_boundaries(p, ctx, func_name):
      with nn.context_scope(ctx):
          x = nn.Variable((2, 3))
          with pytest.raises(RuntimeError):
              # Dropout cannot take p < 0 and 1 <= 1.
              y = F.dropout(x, p)
  
file_path: nnabla/python/test/function/test_dropout.py
imports: from six.moves import range
  import pytest
  import numpy
  import nnabla
  import nnabla.functions
  from nbla_test_utils import list_context
  from nnabla.testing import assert_allclose
label_desc: Use image node_id 1 for calling a global function with example usage: test_dropout_p_boundaries(p, ctx, func_name) without return types