code: def set_function_name(func, node_name, base_name, func_counter):
      
      # NNabla requires each function to have a unique name
      # so we generate one here.
      func.name, count = generate_function_name(func.type, base_name, node_name,
                                                func_counter)
      update_function_counter(func.type, func_counter, count)
docs: Set a sufficient name for the function