add demo examples for edge cases (#5354)
add demo examples for edge cases (#5354)

- empty data
- data consisting of a single value
tensorflow/tensorboard,tensorflow/tensorboard,tensorflow/tensorboard,tensorflow/tensorboard,tensorflow/tensorboard,tensorflow/tensorboard,tensorflow/tensorboard