Flummoxed by IT: TensorFlow: TypeError: only size-1 arrays can be converted to Python scalars