Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RylonW/DocNLC
/ transform
Function
transform
data/multitask_dataset.py:121–124 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
119
120
121
def
transform():
122
return
Compose([
123
ToTensor(),
124
])
125
126
def
BGR2RGB_toTensor(back, blur, noise, shadow, watermark, target):
127
back = back[:, :, [2, 1, 0]]
Callers
1
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected