Home
last modified time | relevance | path

Searched refs:api_names_attr (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/python/util/
Dtf_export.py121 api_names_attr = API_ATTRS[api_name].names
123 if api_names_attr not in undecorated_symbol.__dict__:
125 api_names = getattr(undecorated_symbol, api_names_attr)
134 api_names_attr = API_ATTRS_V1[api_name].names
135 api_names = getattr(undecorated_symbol, api_names_attr)
331 api_names_attr = API_ATTRS[self._api_name].names
336 delattr(undecorated_f, api_names_attr)
340 self.set_attr(undecorated_func, api_names_attr, self._names)
349 def set_attr(self, func, api_names_attr, names): argument
353 if api_names_attr in func.__dict__:
[all …]