code: def test_1d_eval_remains_stochastic(is_deterministic):
      dummy_input = torch.randn(8, 10)
      test_module = torch.nn.Sequential(
          torch.nn.Linear(10, 5),
          torch.nn.ReLU(),
          baal.bayesian.dropout.Dropout(p=0.5),
          torch.nn.Linear(5, 2),
      )
      test_module.eval()
      # NOTE: This is quite a stochastic test...
      torch.manual_seed(2019)
      assert not is_deterministic(test_module, (8, 10))
  
file_path: baal/tests/bayesian/dropout_test.py
imports: import warnings
  import pytest
  import torch
  import baal.bayesian.dropout
label_desc: Use image node_id 2 for calling a global function with example usage: test_1d_eval_remains_stochastic(is_deterministic) without return types