MCPcopy Create free account
hub / github.com/pytorch/pytorch / send

Method send

test/distributed/test_c10d_common.py:1569–1573  ·  view source on GitHub ↗
(self, tensor_list, dst, tag=0)

Source from the content-addressed store, hash-verified

1567 return DummyWork()
1568
1569 def send(self, tensor_list, dst, tag=0):
1570 for tensor in tensor_list:
1571 tensor.add_(1)
1572
1573 return DummyWork()
1574
1575 def recv(self, tensor_list, src, tag=0):
1576 for tensor in tensor_list:

Callers 12

runMethod · 0.45
test_send_recvMethod · 0.45
test_dump_pipeMethod · 0.45
gather_traceMethod · 0.45
test_send_recvMethod · 0.45
test_sendMethod · 0.45
main_generatorMethod · 0.45

Calls 1

DummyWorkClass · 0.85

Tested by

no test coverage detected