예제 #1
0
 def _as_variant_tensor(self):
   return gen_dataset_ops.unbatch_dataset(
       self._input_dataset._as_variant_tensor(),  # pylint: disable=protected-access
       output_shapes=nest.flatten(
           sparse.as_dense_shapes(self.output_shapes, self.output_classes)),
       output_types=nest.flatten(
           sparse.as_dense_types(self.output_types, self.output_classes)))
예제 #2
0
 def _as_variant_tensor(self):
   return gen_dataset_ops.unbatch_dataset(
       self._input_dataset._as_variant_tensor(),  # pylint: disable=protected-access
       output_shapes=nest.flatten(
           sparse.as_dense_shapes(self.output_shapes, self.output_classes)),
       output_types=nest.flatten(
           sparse.as_dense_types(self.output_types, self.output_classes)))
예제 #3
0
 def _as_variant_tensor(self):
   return gen_dataset_ops.unbatch_dataset(
       self._input_dataset._as_variant_tensor(),  # pylint: disable=protected-access
       **dataset_ops.flat_structure(self))
예제 #4
0
 def _as_variant_tensor(self):
     return gen_dataset_ops.unbatch_dataset(
         self._input_dataset._as_variant_tensor(),  # pylint: disable=protected-access
         **dataset_ops.flat_structure(self))