fix: increace deviation_ratio for gnn test case

pull/13094/head
jonyguo 4 years ago
parent bc6ad21278
commit c426cd5434

@ -71,7 +71,7 @@ class MindDataTestGNNGraph : public UT::Common {
} }
void CheckNeighborsRatio(const NumNeighborsMap &number_neighbors, const std::vector<WeightType> &weights, void CheckNeighborsRatio(const NumNeighborsMap &number_neighbors, const std::vector<WeightType> &weights,
float deviation_ratio = 0.1) { float deviation_ratio = 0.2) {
EXPECT_EQ(number_neighbors.size(), weights.size()); EXPECT_EQ(number_neighbors.size(), weights.size());
int index = 0; int index = 0;
uint32_t pre_num = 0; uint32_t pre_num = 0;

Loading…
Cancel
Save