Update svdf test case.
PiperOrigin-RevId: 227752127
This commit is contained in:
parent
9d78259894
commit
000dc6e0fa
@ -209,7 +209,7 @@ class HybridSVDFOpModel : public BaseSVDFOpModel {
|
|||||||
tensor_type_ = tensor_type;
|
tensor_type_ = tensor_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetWeights(int weights_idx, std::vector<float> f) {
|
void SetWeights(int weights_idx, const std::vector<float>& f) {
|
||||||
if (tensor_type_ == TensorType_UINT8) {
|
if (tensor_type_ == TensorType_UINT8) {
|
||||||
SymmetricQuantizeAndPopulate(weights_idx, f);
|
SymmetricQuantizeAndPopulate(weights_idx, f);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user