diff options
Diffstat (limited to 'python/pyarmnn/test')
-rw-r--r-- | python/pyarmnn/test/test_descriptors.py | 10 | ||||
-rw-r--r-- | python/pyarmnn/test/test_network.py | 1 |
2 files changed, 9 insertions, 2 deletions
diff --git a/python/pyarmnn/test/test_descriptors.py b/python/pyarmnn/test/test_descriptors.py index 663abc6ea9..0360196614 100644 --- a/python/pyarmnn/test/test_descriptors.py +++ b/python/pyarmnn/test/test_descriptors.py @@ -403,6 +403,10 @@ def test_elementwise_unary_descriptor_default_values(): assert desc.m_Operation == ann.UnaryOperation_Abs +def test_logical_binary_descriptor_default_values(): + desc = ann.LogicalBinaryDescriptor() + assert desc.m_Operation == ann.LogicalBinaryOperation_LogicalAnd + def test_view_descriptor_incorrect_input(): desc = ann.SplitterDescriptor(2, 3) with pytest.raises(RuntimeError) as err: @@ -493,7 +497,8 @@ generated_classes_names = list(map(lambda x: x[0], generated_classes)) 'TransposeConvolution2dDescriptor', 'ElementwiseUnaryDescriptor', 'FillDescriptor', - 'GatherDescriptor']) + 'GatherDescriptor', + 'LogicalBinaryDescriptor']) class TestDescriptorMassChecks: def test_desc_implemented(self, desc_name): @@ -537,7 +542,8 @@ generated_classes_names = list(map(lambda x: x[0], generated_classes)) 'TransposeConvolution2dDescriptor', 'ElementwiseUnaryDescriptor', 'FillDescriptor', - 'GatherDescriptor']) + 'GatherDescriptor', + 'LogicalBinaryDescriptor']) class TestDescriptorMassChecks: def test_desc_implemented(self, desc_name): diff --git a/python/pyarmnn/test/test_network.py b/python/pyarmnn/test/test_network.py index 4f37c473ac..1792041e11 100644 --- a/python/pyarmnn/test/test_network.py +++ b/python/pyarmnn/test/test_network.py @@ -208,6 +208,7 @@ def test_serialize_to_dot_mode_readonly(network_file, get_runtime, tmpdir): 'AddGatherLayer', 'AddInputLayer', 'AddInstanceNormalizationLayer', + 'AddLogicalBinaryLayer', 'AddLogSoftmaxLayer', 'AddL2NormalizationLayer', 'AddLstmLayer', |