Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ _safe_object_str
Function
_safe_object_str
tensorflow/python/framework/test_util.py:831–832 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
829
len(gc.garbage) - previous_garbage)
830
831
def
_safe_object_str(obj):
832
return
"<%s %d>"
% (obj.__class__.__name__, id(obj))
833
834
logging.error(
" Object type: %s"
, _safe_object_str(obj))
835
logging.error(
Callers
1
decorator
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected