Suppress hypothesis health check in adagrad_test.py

Summary:
PR #1536 suppressed test_sparse_adagrad but test_row_wise_sparse_adagrad also filters too many examples. Suppress health checks for this test as well.
Closes https://github.com/caffe2/caffe2/pull/1599

Differential Revision: D6530850

Pulled By: pietern

fbshipit-source-id: c73f30d2e104565421e3e381b1cf66185edc833e
This commit is contained in:
Pieter Noordhuis 2017-12-10 11:22:55 -08:00 committed by Facebook Github Bot
parent 93009b15e8
commit fca617c62f

View File

@ -204,6 +204,10 @@ class TestAdagrad(hu.HypothesisTestCase):
gc, op, [param_i, momentum_i, indices, grad, lr], ref_sparse
)
# Suppress filter_too_much health check.
# Reproduce by commenting @settings and uncommenting @seed.
# @seed(302934307671667531413257853548643485645)
@settings(suppress_health_check=[HealthCheck.filter_too_much])
@given(inputs=hu.tensors(n=2),
lr=st.floats(min_value=0.01, max_value=0.99,
allow_nan=False, allow_infinity=False),