code: def test_deterministic_softmax_layer() -> None:
      param = ng.p.Array(shape=(1, 100))
      param.add_layer(
          _datalayers.SoftmaxSampling(arity=100, deterministic=True)
      )
      param._value[0, 12] = 1
      assert param.value.tolist() == [12]
  
imports: import pytest
  import numpy
  import nevergrad
  from nevergrad.common import testing
  import nevergrad.common.typing
  from .None import _datalayers
  from .None import helpers
label_desc: Use image node_id 11 for calling a global function with example usage: test_deterministic_softmax_layer() without return types