- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for LoadProtoFromBuffer (0.32 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/import_utils.cc
} } // namespace Status LoadProtoFromBuffer(absl::string_view input, protobuf::Message* proto) { // Attempt to parse as text. if (ParseTextProto(input, "", proto).ok()) return absl::OkStatus(); // Else attempt to parse as binary. return LoadProtoFromBuffer(input, static_cast<protobuf::MessageLite*>(proto)); } Status LoadProtoFromBuffer(absl::string_view input,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/import_utils.h
// Note that text protos can only be parsed when full protobuf::Message protos // are used, and will fail for protobuf::MessageLite protos. Status LoadProtoFromBuffer(absl::string_view input, protobuf::Message* proto); Status LoadProtoFromBuffer(absl::string_view input, protobuf::MessageLite* proto); // Reads text (.pbtext) or binary (.pb) format of a proto message from the given
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 06 09:43:41 UTC 2020 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir.cc
GraphImportConfig& specs, TF_Status* status) { GraphDef graphdef; auto s = tensorflow::LoadProtoFromBuffer(proto, &graphdef); if (!s.ok()) { tsl::Set_TF_Status_from_Status(status, s); return "// error"; } mlir::DialectRegistry registry; mlir::func::registerAllExtensions(registry);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:16:49 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc
}; } // namespace bool ImportQuantStatsPass::ParseQuantStats(const std::string &stats_str) { QuantizationInfo quant_stats; if (!tensorflow::LoadProtoFromBuffer(stats_str, &quant_stats).ok()) { return true; } for (const auto &entry : quant_stats.entries()) { if (!entry.name().empty()) { std::vector<std::string> name_and_port =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc
const std::vector<std::string>& control_output_arrays, const GraphdefToMlirOptions& import_options, mlir::MLIRContext* context) { GraphDef graphdef; TF_RETURN_IF_ERROR( tensorflow::LoadProtoFromBuffer({input.data(), input.size()}, &graphdef)); if (!port::kLittleEndian) TF_RETURN_IF_ERROR(ByteSwapTensorContentInGraphDef(&graphdef)); GraphDebugInfo debug_info; if (!import_options.debug_info_file.empty()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 11:51:44 UTC 2024 - 14.1K bytes - Viewed (0)