to_tensorflow()

Transforms a diffgram Directory object into a tensforflow iterable. This will now output objects of types tf.data.example instead of a normal python dictionary.

dataset = project.directory.get('my dataset')
tf_dataset = dataset.to_tensorflow()

Did this page help you?