MCPcopy Create free account
hub / github.com/IRVLUTD/UnseenObjectsWithMeanShift / zero_diagonal

Function zero_diagonal

lib/networks/embedding.py:14–20  ·  view source on GitHub ↗

Sets diagonal elements of x to 0 @param x: a [batch_size x S x S] torch.FloatTensor

(x)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

forwardMethod · 0.70

Calls 1

toMethod · 0.80

Tested by

no test coverage detected