(shape)
return [int(x) for x in shape]
Make sure shape does not contain int tensors by calling int().
Make sure shape does not contain int tensors by calling int().
Make sure shape does not contain int tensors by calling int () .
def _PureShape(shape):
  """Make sure shape does not contain int tensors by calling int()."""
  return [int(x) for x in shape]
def _PureShape ( shape ) : return [ int ( x ) for x in shape ]