MCPcopy Index your code
hub / github.com/pytorch/pytorch / setup_ex

Method setup_ex

caffe2/python/queue_util.py:48–49  ·  view source on GitHub ↗
(self, init_net, exit_net)

Source from the content-addressed store, hash-verified

46 self._wrapper = wrapper
47
48 def setup_ex(self, init_net, exit_net):
49 exit_net.CloseBlobsQueue([self._wrapper.queue()], 0)
50
51 def write_ex(self, fields, local_init_net, local_finish_net, status):
52 self._wrapper._new_writer(self.schema(), local_init_net)

Callers

nothing calls this directly

Calls 1

queueMethod · 0.80

Tested by

no test coverage detected