Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/semantic-segmentation
/ __call__
Method
__call__
transforms/transforms.py:141–142 ·
view source on GitHub ↗
(self, img)
Source
from the content-addressed store, hash-verified
139
self.interpolation = interpolation
140
141
def
__call__(self, img):
142
return
img.resize(self.size, self.interpolation)
143
144
145
class
FlipChannels(object):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected