MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / RemoveVariable

Function RemoveVariable

tensorflow/c/quantize_embedding_variable.cc:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185Status 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

Callers

nothing calls this directly

Calls 3

DefaultFunction · 0.85
WriteRestVariablesFunction · 0.85
FinishMethod · 0.45

Tested by

no test coverage detected