| 82 | } |
| 83 | |
| 84 | float GetToleranceInt16(float min, float max) { |
| 85 | float kQuantizedStep = (max - min) / std::numeric_limits<int16_t>::max(); |
| 86 | return kQuantizedStep; |
| 87 | } |
| 88 | |
| 89 | TEST(FloatSubOpModel, NoActivation) { |
| 90 | FloatSubOpModel m({TensorType_FLOAT32, {1, 2, 2, 1}}, |