def test_residual_block7(self): list1 = ResBlock_Caffe(batch_norm_first=True).compile( src_layer=InputLayer(name='data'), block_num=1) self.assertTrue(self.sample_syntax['resblock5'] == list1)
def test_residual_block6(self): list1 = ResBlock_Caffe(conv_short_cut=True).compile( src_layer=InputLayer(name='data'), block_num=1) self.assertTrue(self.sample_syntax['resblock4'] == list1)