MCPcopy Create free account
hub / github.com/baidu/bigflow / is_same_working_scope

Function is_same_working_scope

bigflow_python/python/bigflow/util/broadcast.py:36–52  ·  view source on GitHub ↗

Judge if v1 and v2 works on the same scope. When both of them are PType but their working scopes are different, return False; otherwise returns true. Args: v1 (object): object 1 v2 (object): object 2 Returns: bool: if v1 and v2 work on the same scope

(v1, v2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

working_scopeFunction · 0.85

Tested by

no test coverage detected