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

Method _check_input_shape

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

Source from the content-addressed store, hash-verified

375 """
376
377 def _check_input_shape(self, inputs):
378 inputs_shape = _compute_shape(inputs)
379 if len(inputs_shape) != 5:
380 raise ValueError('expected input to be 5D, but got {}D input'.format(inputs.ndim))
381
382
383class InstanceNorm(Layer):

Callers

nothing calls this directly

Calls 1

_compute_shapeFunction · 0.85

Tested by

no test coverage detected