示例#1
0
 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)
示例#2
0
 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)