未验证 提交 5f621321 编写于 作者: 石晓伟 提交者: GitHub

update zero_copy_tensor_test.cc for build of gcc485, test=develop (#31470)

上级 133a914b
......@@ -57,7 +57,7 @@ struct RandomGenerator {
std::uniform_real_distribution<double> dist_;
};
template <typename T, template <typename> typename G>
template <typename T, template <typename> class G>
bool FillRandomDataAndCheck(PlaceType place, size_t length, G<T>&& generator,
float threshold = 10e-5) {
std::vector<T> data_in(length);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册