title: DataGenerator(Sequence) - How to check batch_x and batch_y.shape?
body: <p>I have created this <code>DataGenerator</code>:</p>
  <pre><code>class DataGenerator(Sequence):
  
      def __init__(self, x_set, y_set, batch_size):
          self.x, self.y = x_set, y_set
          self.batch_size = batch_size
  
      def __len__(self):
          return math.ceil(len(self.x) / self.batch_size)
  
      def __getitem__(self, idx):
          batch_x = self.x[idx*self.batch_size : (idx + 1)*self.batch_size]
          batch_x = np.array([resize(imread(file_name), (224, 224)) for file_name in batch_x])
          batch_x = batch_x * 1./255
          batch_y = self.y[idx*self.batch_size : (idx + 1)*self.batch_size]
          batch_y = np.array(batch_y)
  
          return batch_x, batch_y
  </code></pre>
  <p>I would like to check now <code>shape</code> and <code>type</code> of <code>batch_x</code> and <code>batch_y</code>. How could I do this?</p>