1 def with_prefix(prefix, name):
2   """Adds prefix to name."""
3   return "/".join((prefix, name))
4 
5 def with_autoparallel_prefix(replica_id, name):
6   return with_prefix("AutoParallel-Replica-%d" % replica_id, name)

Figure 1: Flow chart of with_autoparallel_prefix.py and with_prefix.py

results matching ""

    No results matching ""