MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _convert_shape

Function _convert_shape

tensorflow/python/keras/utils/tf_utils.py:224–228  ·  view source on GitHub ↗
(input_shape)

Source from the content-addressed store, hash-verified

222 return False
223
224 def _convert_shape(input_shape):
225 input_shape = tensor_shape.TensorShape(input_shape)
226 if to_tuples:
227 input_shape = tuple(input_shape.as_list())
228 return input_shape
229
230 return map_structure_with_atomic(_is_atomic_shape, _convert_shape,
231 input_shape)

Callers

nothing calls this directly

Calls 2

as_listMethod · 0.95
tupleFunction · 0.85

Tested by

no test coverage detected