MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _get_attrs_values

Function _get_attrs_values

tensorflow/python/client/session.py:209–212  ·  view source on GitHub ↗

Returns the list of values from an attrs instance.

(obj)

Source from the content-addressed store, hash-verified

207
208
209def _get_attrs_values(obj):
210 """Returns the list of values from an attrs instance."""
211 attrs = getattr(obj.__class__, '__attrs_attrs__')
212 return [getattr(obj, a.name) for a in attrs]
213
214
215class _FetchMapper(object):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected