1 #pragma once 2 3 /** 4 * @file 5 * Declarations shared between import_data.cpp and export_data.cpp 6 */ 7 8 namespace torch::jit::mobile::internal { 9 /** 10 * The name of the mobile::Module attribute which contains saved parameters, as 11 * a Dict of names to Tensors. Only used for Flatbuffer serialization. 12 */ 13 // NOLINTNEXTLINE(cppcoreguidelines-avoid-c-arrays,modernize-avoid-c-arrays) 14 constexpr char kSavedParametersAttributeName[] = "data"; 15 } // namespace torch::jit::mobile::internal 16