(self)
| 412 | return out, loss |
| 413 | |
| 414 | def setUp(self): |
| 415 | self.sgd = opt.SGD(lr=0.05) |
| 416 | |
| 417 | cpu_dev.ResetGraph() |
| 418 | if singa_api.USE_CUDA: |
| 419 | gpu_dev.ResetGraph() |
| 420 | |
| 421 | def tearDown(self): |
| 422 | cpu_dev.ResetGraph() |
nothing calls this directly
no test coverage detected