| 183 | } |
| 184 | |
| 185 | Status RemoveVariable(const string& input_prefix, const string& output_prefix, |
| 186 | const std::vector<string>& names) { |
| 187 | BundleReader reader(Env::Default(), input_prefix); |
| 188 | BundleWriter writer(Env::Default(), output_prefix); |
| 189 | WriteRestVariables(reader, writer, names); |
| 190 | writer.Finish(); |
| 191 | return Status::OK(); |
| 192 | } |
| 193 | |
| 194 | } // namespace checkpoint |
| 195 | } // namespace tensorflow |
nothing calls this directly
no test coverage detected