__version__ = "0.8.1" from .core.program import PaddleProgram program = PaddleProgram() name_counter = dict() def gen_name(op_name, var_name): name = "{}.{}".format(op_name, var_name) if name not in name_counter: name_counter[name] = 0 else: name_counter[name] += 1 name = name + "." + str(name_counter[name]) return name