[easy][PyTorch][CleanUp] Removing unused function def (missing function implementation) (#73019)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73019

fb: Code search shows no usage https://www.internalfb.com/code/search?q=repo%3Aall%20writeMobileMetadata&hide_uninteresting=0&hide_tests=0
ghstack-source-id: 149381949

Test Plan: CI

Reviewed By: larryliu0820

Differential Revision: D34306823

fbshipit-source-id: b405e5683113bd4ff2e89eec023ae9ebb25c3dc9
(cherry picked from commit a72621fbbd)
This commit is contained in:
Pavithran Ramachandran 2022-02-22 09:22:40 -08:00 committed by PyTorch MergeBot
parent 6d86dc5390
commit 932adf26e4

View File

@ -85,9 +85,6 @@ class TORCH_API ScriptModuleSerializer {
void convertNamedType(const c10::NamedTypePtr& class_type);
void convertTypes(const at::NamedTypePtr& root_type);
void writeExtraFiles(const Module& module, const ExtraFilesMap& extra_files);
void writeMobileMetadata(
const Module& module,
const ExtraFilesMap& extra_files);
void writeByteCode(const Module& module, bool save_mobile_debug_info);
void writeArchive(
const IValue& value,