MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _assign_add_on_device

Function _assign_add_on_device

tensorflow/python/distribute/values.py:561–563  ·  view source on GitHub ↗
(device, variable, tensor)

Source from the content-addressed store, hash-verified

559
560
561def _assign_add_on_device(device, variable, tensor):
562 with ops.device(device):
563 return variable.assign_add(tensor)
564
565
566def _assign_sub_on_device(device, variable, tensor):

Callers 1

assign_addMethod · 0.85

Calls 2

deviceMethod · 0.45
assign_addMethod · 0.45

Tested by

no test coverage detected