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

Method SetNumConcurrentInstances

caffe2/python/core.py:2745–2747  ·  view source on GitHub ↗
(self, num_concurrent_instances)

Source from the content-addressed store, hash-verified

2743 self._step.create_workspace = create_workspace
2744
2745 def SetNumConcurrentInstances(self, num_concurrent_instances):
2746 self._assert_can_mutate()
2747 self._step.num_concurrent_instances = num_concurrent_instances
2748
2749 def SetOnlyOnce(self, only_once):
2750 self._assert_can_mutate()

Callers 1

execution_stepFunction · 0.95

Calls 1

_assert_can_mutateMethod · 0.95

Tested by

no test coverage detected