Tests whether 'name' is registered in this graph's function library. Args: name: string op name. Returns: bool indicating whether or not 'name' is registered in function library.
(self, name)
| 3243 | return result |
| 3244 | |
| 3245 | def _is_function(self, name): |
| 3246 | """Tests whether 'name' is registered in this graph's function library. |
| 3247 | |
| 3248 | Args: |
| 3249 | name: string op name. |
| 3250 | |
| 3251 | Returns: |
| 3252 | bool indicating whether or not 'name' is registered in function library. |
| 3253 | """ |
| 3254 | return compat.as_str(name) in self._functions |
| 3255 | |
| 3256 | def _get_function(self, name): |
| 3257 | """Returns the function definition for 'name'. |
no outgoing calls
no test coverage detected