Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    }
    
    template <typename T>
    std::vector<T> GetAsVector(const flatbuffers::Vector<T>* vec) {
      return std::vector<T>(vec->begin(), vec->end());
    }
    
    class QuantizeWeightsTest : public testing::Test {
     protected:
      QuantizeWeightsTest() {}
    
      void LoadBasicModel() {
        input_model_ = ReadTestModel();
        model_ = input_model_->GetModel();
      }
    
      void LoadSharedWeightsModel() {
    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. tensorflow/compiler/mlir/lite/quantization/lite/BUILD

            "@com_google_absl//absl/container:flat_hash_set",
            "@com_google_googletest//:gtest",
            "@flatbuffers",
        ],
    )
    
    tf_cc_test(
        name = "quantize_weights_test",
        srcs = ["quantize_weights_test.cc"],
        args = [
            "--test_model_file=$(location //tensorflow/lite/tools/optimize:testdata/single_conv_weights_min_0_max_plus_10.bin)",
        ],
        data = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top