code: def test_dropout_gives_zero_activations(W_b_input):
      model = chain(get_model(W_b_input), Dropout(1.0))
      nr_batch, nr_out, nr_in = get_shape(W_b_input)
      W, b, input_ = W_b_input
      fwd_dropped, _ = model.begin_update(input_)
      assert all(val == 0.0 for val in fwd_dropped.flatten())
  
imports: import numpy
  import pytest
  from hypothesis import given, settings
  from mock import MagicMock
  from numpy.testing import assert_allclose
  from thinc.api import SGD, Dropout, Linear, chain
  from ..strategies import arrays_OI_O_BI
  from ..util import get_model, get_shape
label_desc: Use image node_id 8 for calling a global function with example usage: test_dropout_gives_zero_activations(W_b_input) without return types