| Conditions | 1 |
| Total Lines | 13 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # coding=utf-8 |
||
| 9 | def test_backbone_interface(): |
||
| 10 | """Test the get_config of the interface""" |
||
| 11 | config = dict( |
||
| 12 | image_size=(5, 5, 5), |
||
| 13 | out_channels=3, |
||
| 14 | num_channel_initial=4, |
||
| 15 | out_kernel_initializer="zeros", |
||
| 16 | out_activation="relu", |
||
| 17 | name="test", |
||
| 18 | ) |
||
| 19 | model = backbone.Backbone(**config) |
||
| 20 | got = model.get_config() |
||
| 21 | assert got == config |
||
| 22 |