Catch mapping spatially unconnected tops.
(self)
| 165 | crop(n.deconv, n.data) |
| 166 | |
| 167 | def test_catch_unconnected(self): |
| 168 | """ |
| 169 | Catch mapping spatially unconnected tops. |
| 170 | """ |
| 171 | n = coord_net_spec() |
| 172 | n.ip = L.InnerProduct(n.deconv, num_output=10) |
| 173 | with self.assertRaises(RuntimeError): |
| 174 | coord_map_from_to(n.ip, n.data) |
| 175 | |
| 176 | def test_catch_scale_mismatch(self): |
| 177 | """ |
nothing calls this directly
no test coverage detected