Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StrEq (0.05 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/graph_def_test.cc

    #include "tsl/platform/protobuf.h"  // IWYU pragma: keep
    
    namespace stablehlo::quantization {
    namespace {
    
    using ::tensorflow::GraphDef;
    using ::tensorflow::NodeDef;
    using ::testing::SizeIs;
    using ::testing::StrEq;
    using ::tsl::protobuf::TextFormat;
    
    TEST(GraphDefTest, MutateNodeDefsMutatesTopLevelNodeDefs) {
      GraphDef graph_def;
      ASSERT_TRUE(TextFormat::ParseFromString(R"pb(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 28 18:38:06 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/representative_dataset_test.cc

      ASSERT_THAT(*representative_dataset_file_map, SizeIs(1));
      EXPECT_THAT(*representative_dataset_file_map,
                  Contains(Key(StrEq("test_signature_key"))));
      EXPECT_THAT(representative_dataset_file_map->at("test_signature_key")
                      .tfrecord_file_path(),
                  StrEq("test_path"));
    }
    
    TEST(CreateRepresentativeDatasetFileMapTest,
         ConfigWithDuplicateSignatureKeyReturnsInvalidArgumentError) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 29 04:53:21 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/pre_calibration_test.cc

    using ::stablehlo::quantization::PopulateDefaults;
    using ::stablehlo::quantization::QuantizationConfig;
    using ::testing::Contains;
    using ::testing::SizeIs;
    using ::testing::StartsWith;
    using ::testing::StrEq;
    using ::tsl::testing::IsOk;
    
    // Matches an operation whose `getSymName` equals `name`.
    MATCHER_P(HasSymName, name, "") {
      auto non_const_arg = const_cast<std::remove_const_t<decltype(arg)>>(arg);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 21:41:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report_test.cc

    namespace mlir::quant::stablehlo {
    namespace {
    
    using ::stablehlo::quantization::QuantizationResults;
    using ::stablehlo::quantization::io::ReadFileToString;
    using ::testing::SizeIs;
    using ::testing::StrEq;
    using ::tsl::protobuf::TextFormat;
    using ::tsl::testing::IsOk;
    using ::tsl::testing::StatusIs;
    
    using SaveQuantizationReportInstrumentationTest = QuantizationTestBase;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top