Browse Source

fix: increace deviation_ratio for gnn test case

tags/v1.2.0-rc1
jonyguo 5 years ago
parent
commit
c426cd5434
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/ut/cpp/dataset/gnn_graph_test.cc

+ 1
- 1
tests/ut/cpp/dataset/gnn_graph_test.cc View File

@@ -71,7 +71,7 @@ class MindDataTestGNNGraph : public UT::Common {
}

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());
int index = 0;
uint32_t pre_num = 0;


Loading…
Cancel
Save