Home
last modified time | relevance | path

Searched refs:SymmetricQuantizeTensor (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.h78 TfLiteStatus SymmetricQuantizeTensor(ModelT* model, TensorT* tensor);
Dquantization_utils_test.cc507 EXPECT_EQ(SymmetricQuantizeTensor(nullptr, nullptr), kTfLiteError); in TEST_F()
537 EXPECT_EQ(SymmetricQuantizeTensor(&model, weights_tensor), kTfLiteOk); in TEST_F()
545 TEST_F(QuantizationUtilsTest, SymmetricQuantizeTensor) { in TEST_F() argument
570 EXPECT_EQ(SymmetricQuantizeTensor(&model, weights_tensor), kTfLiteOk); in TEST_F()
Dquantization_utils.cc449 TfLiteStatus SymmetricQuantizeTensor(ModelT* model, TensorT* tensor) { in SymmetricQuantizeTensor() function
710 return SymmetricQuantizeTensor(model, tensor); in QuantizeWeight()
Dquantize_weights.cc450 utils::SymmetricQuantizeTensor(model.get(), tensor_pair.second.t)); in QuantizeWeightsInt8()