def METHOD_NAME(local_ds: Dataset):
    # TODO: when chunk-wise compression is done, `labels` should be compressed using lz4, so this test needs to be updated
    images = local_ds.create_tensor("images", htype="image", sample_compression="png")
    labels = local_ds.create_tensor("labels", htype="class_label")
    images.extend(np.ones((16, 10, 10, 3), dtype="uint8"))
    labels.extend(np.ones((16, 1), dtype="uint32"))
    for batch in local_ds.tensorflow():
        # converting tf Tensors to numpy
        X = batch["images"].numpy()
        T = batch["labels"].numpy()
        assert X.shape == (10, 10, 3)
        assert T.shape == (1,)