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

Function _compute_shape

tensorlayer/layers/normalization.py:110–115  ·  view source on GitHub ↗
(tensors)

Source from the content-addressed store, hash-verified

108
109
110def _compute_shape(tensors):
111 if isinstance(tensors, list):
112 shape_mem = [t.get_shape().as_list() for t in tensors]
113 else:
114 shape_mem = tensors.get_shape().as_list()
115 return shape_mem
116
117
118def batch_normalization(x, mean, variance, offset, scale, variance_epsilon, data_format, name=None):

Callers 4

_check_input_shapeMethod · 0.85
_check_input_shapeMethod · 0.85
_check_input_shapeMethod · 0.85
_check_input_shapeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…