MCPcopy Create free account
hub / github.com/InternRobotics/EmbodiedScan / forward

Method forward

embodiedscan/models/necks/imvoxel_neck.py:132–143  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

130 self.stride = stride
131
132 def forward(self, x):
133 identity = x
134 out = self.conv1(x)
135 out = self.norm1(out)
136 out = self.relu(out)
137 out = self.conv2(out)
138 out = self.norm2(out)
139 if self.stride != 1:
140 identity = self.downsample(x)
141 out += identity
142 out = self.relu(out)
143 return out

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected