Multiple bottoms/tops of a layer are identically mapped.
(self)
| 92 | self.assertEquals(b, b_pad) |
| 93 | |
| 94 | def test_multi_conv(self): |
| 95 | """ |
| 96 | Multiple bottoms/tops of a layer are identically mapped. |
| 97 | """ |
| 98 | n = coord_net_spec() |
| 99 | # multi bottom/top |
| 100 | n.conv_data, n.conv_aux = L.Convolution( |
| 101 | n.data, n.aux, ntop=2, num_output=10, kernel_size=5, stride=2, |
| 102 | pad=0) |
| 103 | ax1, a1, b1 = coord_map_from_to(n.conv_data, n.data) |
| 104 | ax2, a2, b2 = coord_map_from_to(n.conv_aux, n.aux) |
| 105 | self.assertEquals(ax1, ax2) |
| 106 | self.assertEquals(a1, a2) |
| 107 | self.assertEquals(b1, b2) |
| 108 | |
| 109 | def test_rect(self): |
| 110 | """ |
nothing calls this directly
no test coverage detected