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

Method __str__

tensorflow/python/autograph/pyct/qual_names.py:171–177  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

169 self.has_attr() == other.has_attr())
170
171 def __str__(self):
172 if self.has_subscript():
173 return str(self.qn[0]) + '[' + str(self.qn[1]) + ']'
174 if self.has_attr():
175 return '.'.join(map(str, self.qn))
176 else:
177 return str(self.qn[0])
178
179 def __repr__(self):
180 return str(self)

Callers

nothing calls this directly

Calls 3

has_subscriptMethod · 0.95
has_attrMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected