View source on GitHub |
Joins a parent and child scope using /
, checking for empty/none.
tf_agents.utils.common.join_scope(
parent_scope, child_scope
)
Args | |
---|---|
parent_scope
|
(string) parent/prefix scope. |
child_scope
|
(string) child/suffix scope. |
Returns | |
---|---|
joined scope: (string) parent and child scopes joined by /. |