Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LoadProtoFromBuffer (0.31 sec)

  1. 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)
  2. 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)
Back to top