Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/ADHMR
/ flip
Function
flip
ADHMR/lib/utils/transforms.py:509–513 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
507
508
509
def
flip(x):
510
assert (x.dim() == 3 or x.dim() == 4)
511
dim = x.dim() - 1
512
513
return
x.flip(dims=(dim,))
514
515
516
def
flip_heatmap(heatmap, joint_pairs, shift=False):
Callers
3
flip_heatmap
Function · 0.85
flip_heatmap_coord
Function · 0.85
flip_heatmap_dz
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected