def input_fn_null(self):
    'Input function which provides null (black) images.'
    dataset = tf.data.Dataset.range(1).repeat().map(self._get_null_input)
    dataset = dataset.prefetch(self.batch_size)
    dataset = dataset.batch(self.batch_size, drop_remainder=True)
    dataset = dataset.prefetch(32)
    tf.logging.info('Input dataset: %s', str(dataset))
    return dataset
Input function which provides null (black) images.
def input_fn_null(self):
    
    dataset = tf.data.Dataset.range(1).repeat().map(self._get_null_input)
    dataset = dataset.prefetch(self.batch_size)
    dataset = dataset.batch(self.batch_size, drop_remainder=True)
    dataset = dataset.prefetch(32)
    tf.logging.info('Input dataset: %s', str(dataset))
    return dataset