code: def test_softmax_categorical() -> None:
      np.random.seed(12)
      token = p.Choice(["blu", "blublu", "blublublu"])
      assert (
          token.spawn_child()
          .set_standardized_data([0.5, 1.0, 1.5])
          .value
          == "blublu"
      )
      new_token = token.spawn_child(new_value="blu")
      child = token.spawn_child()
      with p.helpers.deterministic_sampling(child):
          value = child.set_standardized_data(
              new_token.get_standardized_data(reference=token)
          ).value
      assert value == "blu"
  
file_path: nevergrad/nevergrad/parametrization/test_parameters_legacy.py
imports: import typing
  import numpy
  import pytest
  from .None import parameter
label_desc: Use image node_id 7 for calling a global function with example usage: test_softmax_categorical() without return types