def METHOD_NAME() -> None:
    param = ng.p.Array(shape=(1, 100))
    param.add_layer(_datalayers.SoftmaxSampling(arity=100, deterministic=False))
    param._value[0, 12] = 1
    del param.value
    with helpers.deterministic_sampling(param):
        assert param.value[0] == 12
    # the behavior should be stochastic when not using the context
    different = False
    for _ in range(10000):
        del param.value
        different = param.value[0] != 12
        if different:
            break
    assert different, "At least one sampling should have been different"