| 104 | } |
| 105 | |
| 106 | void FillRandom(std::vector<float>* vec, float min, float max) { |
| 107 | std::uniform_real_distribution<float> dist(min, max); |
| 108 | auto gen = std::bind(dist, RandomEngine()); |
| 109 | std::generate(std::begin(*vec), std::end(*vec), gen); |
| 110 | } |
| 111 | |
| 112 | } // namespace tflite |
nothing calls this directly
no test coverage detected