MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / max_neg_value

Function max_neg_value

ldm/modules/attention.py:37–38  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

35
36
37def max_neg_value(t):
38 return -torch.finfo(t.dtype).max
39
40
41def init_(tensor):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected