class_docstr: For backward compatibility only. Please use :class:`nni.mutable.Categorical` instead.
class_docstr_tok: ["For","backward","compatibility","only",".","Please","use",":","class",":","`","nni.mutable.Categorical","`","instead","."]
code: def candidates(self) -> list:
      return self.values
  
imports: import functools
  import warnings
  from typing import Any, Iterator, List, Optional, Dict, Union, Tuple, cast
  from typing_extensions import Literal
  import torch
  import torch.nn
  from nni.mutable import Categorical, CategoricalMultiple, Sample, SampleValidationError, ensure_frozen
  from .base import MutableModule, recursive_freeze
label_desc: Use image node_id 2 for calling the ValueChoice obj's underlying member method code with example usage: obj.candidates() and returns: self