code: def _expand_parameter_variable(self, proto):
      names = []
  
      for pv in proto.parameter_variable:
          if pv.variable_name in self._parameter_original_names:
              for n in self._parameter_original_names[pv.variable_name]:
                  names.append(n)
          else:
              names.append(pv.variable_name)
  
      proto.ClearField("parameter_variable")
      for n in sorted(names):
          pv = proto.parameter_variable.add()
          pv.variable_name = n
  
file_path: nnabla/python/test/core/legacy_expander.py
imports: import collections
  import re
  from nnabla.utils import nnabla_pb2
label_desc: Use image node_id 5 for calling the NnpExpander obj's underlying member method code with example usage: obj._expand_parameter_variable(proto) without return types