MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / close

Method close

rl3/a2c/subproc_vec_env.py:94–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

92 return np.stack([remote.recv() for remote in self.remotes])
93
94 def close(self):
95 if self.closed:
96 return
97
98 for remote in self.remotes:
99 remote.send(('close', None))
100 for p in self.ps:
101 p.join()
102 self.closed = True
103
104 @property
105 def num_envs(self):

Callers 6

trainFunction · 0.95
workerFunction · 0.80
__init__Method · 0.80
learnFunction · 0.80
ssd.pyFile · 0.80
main.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected