commit | 9835ca9bac135352cd356e5f87f832dcbbc6d1fa | [log] [tgz] |
---|---|---|
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | Wed Jan 03 12:13:15 2018 -0800 |
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | Wed Jan 03 12:19:14 2018 -0800 |
tree | fc3b8ea55bbd45fd1b178364a60be8f85094d2fe | |
parent | 387b4234ea3fe2a24e6922eb0436971add67627c [diff] |
Ensure indices list in sparse optimizer tests is unique Summary: There were no dimensionality constraints to the generated indices array, causing many examples being generated and filtered out. Instead, we should ensure the probability of unique indices is high. There is a better fix for this by using the `unique` keyword argument to `hypothesis.extra.numpy.arrays`, but this is available only in hypothesis version 3.28.0 and later. This is related to #1536 and #1599. Once this change has proven to be OK, we can modify the other tests that now have health check suppression enabled as well. Closes https://github.com/caffe2/caffe2/pull/1686 Reviewed By: Yangqing Differential Revision: D6651789 Pulled By: pietern fbshipit-source-id: d80886c9ccf0a7a842a7580a279f33a2d6cca97c
Caffe2 is a lightweight, modular, and scalable deep learning framework. Building on the original Caffe, Caffe2 is designed with expression, speed, and modularity in mind.
Caffe2 research award competition request for proposals
Please use Github issues (https://github.com/caffe2/caffe2/issues) to ask questions, report bugs, and request new features.
Please participate in our survey (https://www.surveymonkey.com/r/caffe2). We will send you information about new releases and special developer events/webinars.
Caffe2 is released under the Apache 2.0 license. See the NOTICE file for details.