Search Options

Results per page
Sort
Preferred Languages
Advance

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

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