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

Function InjectDeviceCopiesAmongNetsWithoutB2D

caffe2/python/core.py:2633–2635  ·  view source on GitHub ↗
(nets, blob_to_device_init=None)

Source from the content-addressed store, hash-verified

2631
2632
2633def InjectDeviceCopiesAmongNetsWithoutB2D(nets, blob_to_device_init=None):
2634 new_nets, _ = InjectDeviceCopiesAmongNets(nets, blob_to_device_init)
2635 return new_nets
2636
2637
2638def get_net_name(netlike):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…