MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / __init__

Method __init__

yolox/models/network_blocks.py:191–193  ·  view source on GitHub ↗
(self, in_channels, out_channels, ksize=1, stride=1, act="silu")

Source from the content-addressed store, hash-verified

189 """Focus width and height information into channel space."""
190
191 def __init__(self, in_channels, out_channels, ksize=1, stride=1, act="silu"):
192 super().__init__()
193 self.conv = BaseConv(in_channels * 4, out_channels, ksize, stride, act=act)
194
195 def forward(self, x):
196 # shape of x (b,c,w,h) -> y(b,4c,w/2,h/2)

Callers 6

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

BaseConvClass · 0.85

Tested by

no test coverage detected