code: def test_dropout_recompute(p, seed, ctx, func_name):
      from nbla_test_utils import recomputation_test
  
      rng = np.random.RandomState(0)
      x = nn.Variable((2, 3, 4))
      func_args = [p, seed]
      recomputation_test(
          rng=rng,
          func=F.dropout,
          vinputs=[x],
          func_args=func_args,
          func_kwargs={},
          ctx=ctx,
      )
  
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 7 for calling a global function with example usage: test_dropout_recompute(p, seed, ctx, func_name) without return types