(input_shape)
| 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) |