Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_1 (0.43 sec)

  1. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

      }
      return nullptr;
    }
    
    TEST_F(QuantizeWeightsTest, QuantizationSucceeds) {
      LoadBasicModel();
      flatbuffers::FlatBufferBuilder builder;
      auto status = QuantizeWeights(&builder, model_, 0);
      EXPECT_EQ(status, kTfLiteOk);
    
      const uint8_t* buffer = builder.GetBufferPointer();
      const Model* output_model = GetModel(buffer);
      ASSERT_TRUE(output_model);
    }
    
    TEST_F(QuantizeWeightsTest, QuantizationFails) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            configurationCacheRunLenient()
    
            then: "cache entry is reused"
            configurationCache.assertStateLoaded()
    
            when: "a file is created in the directory"
            assert new File(accessedFile, "test1").createNewFile()
            configurationCacheRunLenient()
    
            then: "the cache entry is invalidated and the change is reported"
            configurationCache.assertStateStored()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      // Due to the shared test of this infrastructure, we just need to make sure
      // that the dumped file size is greater than what was originally inside
      // the test directory.
      TF_ASSERT_OK(env->GetChildren(test_dir, &files));
      EXPECT_THAT(files.size(), ::testing::Gt(original_files_size));
      setenv("TF_DUMP_GRAPH_PREFIX", test_dir.c_str(), /*overwrite=*/0);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top