class_docstr: Base class of modifiers.
  
  The `modify` method is called for a function with inputs in a graph topological order
  when you call the GraphConverter(<modifiers>).convert(<root variable>) method.
class_docstr_tok: ["Base","class","of","modifiers",".","The","`","modify","`","method","is","called","for","a","function","with","inputs","in","a","graph","topological","order","when","you","call","the","GraphConverter","(","<","modifiers",">",")",".convert","(","<","root","variable",">",")","method","."]
docstr: Get the parameter name corresponding to v
  
  Args:
    v (:obj:`nnabla.Variable`): NNabla Variable Object.
  
  Returns:
    str: Scope name
docstr_tok: ["Get","the","parameter","name","corresponding","to","v","Args",":","v","(",":","obj",":","`","nnabla.Variable","`",")",":","NNabla","Variable","Object",".","Returns",":","str",":","Scope","name"]
code: def get_parameter_scope(self, v):
      """Get the parameter name corresponding to v
  
      Args:
        v (:obj:`nnabla.Variable`): NNabla Variable Object.
  
      Returns:
        str: Scope name
  
      """
      try:
          idx = list(nn.get_parameters().values()).index(v)
          scope = "/".join(
              list(nn.get_parameters().keys())[idx].split("/")[:-1]
          )
      except:
          scope = ""
      return scope
  
imports: from collections import defaultdict
  import nnabla
  import nnabla.functions
label_desc: Use image node_id 3 for calling the FunctionModifier obj's underlying member method code with example usage: obj.get_parameter_scope(v) and returns: scope