Skip to content

Commit

Permalink
Merge 5647cb7 into c8c9ee0
Browse files Browse the repository at this point in the history
  • Loading branch information
hvy committed Mar 22, 2019
2 parents c8c9ee0 + 5647cb7 commit d7c32c6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions chainer/testing/function_link.py
Expand Up @@ -70,16 +70,23 @@ def __init__(self, argument_value, expected_initializer):


class FunctionTestBase(object):

backend_config = None
check_forward_options = {} # type: tp.Dict[str, tp.Any]
check_backward_options = {} # type: tp.Dict[str, tp.Any]
check_double_backward_options = {} # type: tp.Dict[str, tp.Any]
check_forward_options = None
check_backward_options = None
check_double_backward_options = None
skip_forward_test = False
skip_backward_test = False
skip_double_backward_test = False
dodge_nondifferentiable = False
contiguous = None

def __init__(self, *args, **kwargs):
super(FunctionTestBase, self).__init__(*args, **kwargs)
self.check_forward_options = {}
self.check_backward_options = {}
self.check_double_backward_options = {}

def before_test(self, test_name):
pass

Expand Down

0 comments on commit d7c32c6

Please sign in to comment.