(self, path, variables_saver)
| 429 | tf.compat.v1.gfile.Copy(source, destination) |
| 430 | |
| 431 | def _save_variables(self, path, variables_saver): |
| 432 | if variables_saver: |
| 433 | variables_path = get_variables_path(path) |
| 434 | variables_dir = os.path.dirname(variables_path) |
| 435 | tf.compat.v1.gfile.MakeDirs(variables_dir) |
| 436 | logging.debug("Variables saved in: %s", variables_path) |
| 437 | variables_saver(variables_path) |
| 438 | |
| 439 | def _save_proto(self, path, proto): |
| 440 | proto_path = _get_saved_model_proto_path(path) |
no test coverage detected