tf.data-handle complex input
tf.data.Dataset represents a series of elements, each element contains one or more Tensor objects, these objects are called components .
Establishment method
- Create a Dataset directly from Tensor.
For example: Dataset.from_tensor_slices() The parameters can be Numpy, List and TensorArray, which will be automatically converted to Tensor - Create a Dataset by using transformations on one or more tf.data.Dataset objects