MCPcopy Create free account
hub / github.com/HiLab-git/SSL4MIS / symmetric_mse_loss

Function symmetric_mse_loss

code/utils/losses.py:107–116  ·  view source on GitHub ↗

Like F.mse_loss but sends gradients to both directions Note: - Returns the sum over all examples. Divide by the batch size afterwards if you want the mean. - Sends gradients to both input1 and input2.

(input1, input2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected