Like import_graph_def but does not validate colocation constraints.
( # pylint: disable=invalid-name
graph_def, name=None)
| 406 | |
| 407 | |
| 408 | def import_graph_def_for_function( # pylint: disable=invalid-name |
| 409 | graph_def, name=None): |
| 410 | """Like import_graph_def but does not validate colocation constraints.""" |
| 411 | return _import_graph_def_internal( |
| 412 | graph_def, validate_colocation_constraints=False, name=name) |
| 413 | |
| 414 | |
| 415 | def _import_graph_def_internal( # pylint: disable=invalid-name |
nothing calls this directly
no test coverage detected