Skip to content
Snippets Groups Projects
Commit cab4dc23 authored by Lars Sowa's avatar Lars Sowa
Browse files

adapt tests

parent ca076c59
Branches
No related tags found
2 merge requests!9Flex tensor dev,!8Flex tensor dev
......@@ -59,7 +59,8 @@ class TestBaseClass:
for node in range(mlp_specs["output_neurons"]):
# get singe node results
tc = self.model.get_tc(
x_data=x_data,
"x",
forward_kwargs={"x": x_data},
index_list=[index],
node=node,
eval_max_node_only=eval_max_node_only,
......@@ -68,7 +69,8 @@ class TestBaseClass:
node_outputs.append(tc)
# get all-node results
tc = self.model.get_tc(
x_data=x_data,
"x",
forward_kwargs={"x": x_data},
index_list=[index],
node=None,
eval_max_node_only=eval_max_node_only,
......
......@@ -65,7 +65,8 @@ class TestTCComputation(unittest.TestCase):
):
# compute TC
tc = _model.get_tc(
x_data=_point,
"point",
forward_kwargs={"point": _point},
index_list=[combination],
features_axis=_feature_axis,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment