hub.likeis used to create an empty dataset with the same tensor structure.
ds_in, and the result is automatically stored in
hub.ingestto automatically convert this image classification dataset into hub format and save it in
flip_vertical()transformation function from the previous example. If a second dataset is not specified as an input to
.eval(), the transformation is applied to the input dataset.
flip_verticalfunction from the first example and the
hub.computecan be easily combined into pipelines using
hub.compose. Required arguments for the functions must be passed into the pipeline in this step:
ds_in. The result is automatically stored in