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

Function close_queue

caffe2/python/queue_util.py:129–136  ·  view source on GitHub ↗
(step, *queues)

Source from the content-addressed store, hash-verified

127
128
129def close_queue(step, *queues):
130 close_net = core.Net("close_queue_net")
131 for queue in queues:
132 close_net.CloseBlobsQueue([queue], 0)
133 close_step = core.execution_step("%s_step" % str(close_net), close_net)
134 return core.execution_step(
135 "%s_wraper_step" % str(close_net),
136 [step, close_step])

Callers

nothing calls this directly

Calls 2

NetMethod · 0.80
execution_stepMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…