Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mindee/doctr
/ __init__
Method
__init__
doctr/transforms/modules/pytorch.py:192–193 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
190
""
"Randomly shuffle channel order of a given image"
""
191
192
def
__init__(self):
193
super().__init__()
194
195
def
forward(self, img: torch.Tensor) -> torch.Tensor:
196
# Get a random order
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected