MCPcopy Index your code
hub / github.com/tensorlayer/TensorLayer / _check_input_shape

Method _check_input_shape

tensorlayer/layers/normalization.py:353–356  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

351 """
352
353 def _check_input_shape(self, inputs):
354 inputs_shape = _compute_shape(inputs)
355 if len(inputs_shape) != 4:
356 raise ValueError('expected input to be 4D, but got {}D input'.format(inputs.ndim))
357
358
359class BatchNorm3d(BatchNorm):

Callers

nothing calls this directly

Calls 1

_compute_shapeFunction · 0.85

Tested by

no test coverage detected