Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ProtoStringMatcher (0.16 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/fill_quantization_options_test.cc

    using ::stablehlo::quantization::QuantizationOptions;
    
    // Simple implementation of ::testing::EqualsProto equivalent until open source
    // b/135192747 is fixed. Originally from type_to_shape_test.cc.
    class ProtoStringMatcher {
     public:
      explicit ProtoStringMatcher(const tsl::protobuf::Message& expected)
          : expected_(expected.SerializeAsString()) {}
    
      template <typename Message>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/test_utils.h

    // Simple implementation of a proto matcher comparing string representations.
    // Only works as ShapeProto's textual representation is deterministic.
    class ProtoStringMatcher {
     public:
      explicit ProtoStringMatcher(const tensorflow::protobuf::Message& expected)
          : expected_(expected.DebugString()) {}
    
      template <typename Message>
      bool MatchAndExplain(const Message& p,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 31 23:00:51 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils_test.cc

    namespace {
    
    using mlir::DialectRegistry;
    using mlir::MLIRContext;
    using mlir::ModuleOp;
    using mlir::OwningOpRef;
    
    // TODO(b/229726259): Make EqualsProto available in OSS
    class ProtoStringMatcher {
     public:
      explicit ProtoStringMatcher(const tsl::protobuf::Message& expected)
          : expected_(expected.SerializeAsString()) {}
    
      template <typename Message>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 12 04:22:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top