def _structuredDataset(self, structure, shape, dtype):
    if (structure is None):
        return dataset_ops.Dataset.from_tensors(array_ops.zeros(shape, dtype=dtype))
    else:
        return dataset_ops.Dataset.zip(tuple([self._structuredDataset(substructure, shape, dtype) for substructure in structure]))
def _structuredDataset(self, structure, shape, dtype):
    if (structure is None):
        return dataset_ops.Dataset.from_tensors(array_ops.zeros(shape, dtype=dtype))
    else:
        return dataset_ops.Dataset.zip(tuple([self._structuredDataset(substructure, shape, dtype) for substructure in structure]))