Created
July 8, 2020 13:04
-
-
Save ntakouris/ce7010b0d8f258f165ec1d9b628da675 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raw_data = [ | |
{'x': 1, 'y': 1, 's': 'hello'}, | |
{'x': 2, 'y': 2, 's': 'world'}, | |
{'x': 3, 'y': 3, 's': 'hello'} | |
] | |
raw_data_metadata = dataset_metadata.DatasetMetadata( | |
dataset_schema.from_feature_spec({ | |
'y': tf.io.FixedLenFeature([], tf.float32), | |
'x': tf.io.FixedLenFeature([], tf.float32), | |
's': tf.io.FixedLenFeature([], tf.string), | |
})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment