function collectInputShape(inputTensors) {
	  inputTensors = toList(inputTensors);
	  var shapes = [];

	  for (var _iterator9 = _createForOfIteratorHelperLoose(inputTensors), _step9; !(_step9 = _iterator9()).done;) {
	    var x = _step9.value;
	    shapes.push(x.shape);
	  }

	  return singletonOrArray(shapes);
	}
Collects the input shape(s) of a list of `tf.Tensor`s or
`tf.SymbolicTensor`s.

TODO(michaelterry): Update PyKeras docs (backport).

@param inputTensors List of input tensors (or single input tensor).

@return List of shape tuples (or single tuple), one tuple per input.