MCPcopy Create free account
hub / github.com/FreeformRobotics/OTS / _check_input_dim

Method _check_input_dim

lib/nn/modules/batchnorm.py:325–329  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

323 """
324
325 def _check_input_dim(self, input):
326 if input.dim() != 5:
327 raise ValueError('expected 5D input (got {}D input)'
328 .format(input.dim()))
329 super(SynchronizedBatchNorm3d, self)._check_input_dim(input)

Callers

nothing calls this directly

Calls 1

_check_input_dimMethod · 0.45

Tested by

no test coverage detected