MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / rotate_90_2d

Function rotate_90_2d

tests/transforms/functional/test_resample.py:24–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23
24def rotate_90_2d():
25 t = torch.eye(3)
26 t[:, 0] = torch.FloatTensor([0, -1, 0])
27 t[:, 1] = torch.FloatTensor([1, 0, 0])
28 return t
29
30
31RESAMPLE_FUNCTION_CASES = [

Callers 1

test_resample.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…