MCPcopy Create free account
hub / github.com/Engineering-Course/LIP_JPPNet / average_gradients

Function average_gradients

train_JPPNet-s2.py:297–330  ·  view source on GitHub ↗

Calculate the average gradient for each shared variable across all towers. Note that this function provides a synchronization point across all towers. Args: tower_grads: List of lists of (gradient, variable) tuples. The outer list is over individual gradients. The inner list is over th

(tower_grads)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 1

concatMethod · 0.80

Tested by

no test coverage detected