def _structuredRaggedDataset(self, structure, shapes, dtype):
    if (structure is None):
        return dataset_ops.Dataset.from_tensor_slices(shapes).map((lambda shape: array_ops.zeros(shape, dtype=dtype)))
    else:
        return dataset_ops.Dataset.zip(tuple([self._structuredRaggedDataset(substructure, shapes, dtype) for substructure in structure]))
def _structuredRaggedDataset(self, structure, shapes, dtype):
    if (structure is None):
        return dataset_ops.Dataset.from_tensor_slices(shapes).map((lambda shape: array_ops.zeros(shape, dtype=dtype)))
    else:
        return dataset_ops.Dataset.zip(tuple([self._structuredRaggedDataset(substructure, shapes, dtype) for substructure in structure]))