MCPcopy Create free account
hub / github.com/apache/singa / tearDown

Method tearDown

test/python/test_model.py:421–424  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

419 gpu_dev.ResetGraph()
420
421 def tearDown(self):
422 cpu_dev.ResetGraph()
423 if singa_api.USE_CUDA:
424 gpu_dev.ResetGraph()
425
426 def _forward_helper(self, dev, is_train, use_graph, sequential):
427 self.generate_data(dev)

Callers

nothing calls this directly

Calls 1

ResetGraphMethod · 0.80

Tested by

no test coverage detected