|
35 | 35 | import org.tensorflow.op.data.ConcatenateDataset;
|
36 | 36 | import org.tensorflow.op.data.DataServiceDataset;
|
37 | 37 | import org.tensorflow.op.data.DatasetCardinality;
|
| 38 | +import org.tensorflow.op.data.DatasetFingerprint; |
38 | 39 | import org.tensorflow.op.data.DatasetFromGraph;
|
39 | 40 | import org.tensorflow.op.data.DatasetToGraph;
|
40 | 41 | import org.tensorflow.op.data.DatasetToSingleElement;
|
|
62 | 63 | import org.tensorflow.op.data.LMDBDataset;
|
63 | 64 | import org.tensorflow.op.data.LatencyStatsDataset;
|
64 | 65 | import org.tensorflow.op.data.LegacyParallelInterleaveDataset;
|
| 66 | +import org.tensorflow.op.data.ListSnapshotChunksDataset; |
65 | 67 | import org.tensorflow.op.data.LoadDataset;
|
66 | 68 | import org.tensorflow.op.data.MakeIterator;
|
67 | 69 | import org.tensorflow.op.data.MapAndBatchDataset;
|
@@ -390,6 +392,17 @@ public DatasetCardinality datasetCardinality(Operand<? extends TType> inputDatas
|
390 | 392 | return DatasetCardinality.create(scope, inputDataset, options);
|
391 | 393 | }
|
392 | 394 |
|
| 395 | + /** |
| 396 | + * Returns the fingerprint of {@code input_dataset}. |
| 397 | + * Returns the fingerprint of {@code input_dataset}. |
| 398 | + * |
| 399 | + * @param inputDataset A variant tensor representing the dataset to return fingerprint for. |
| 400 | + * @return a new instance of DatasetFingerprint |
| 401 | + */ |
| 402 | + public DatasetFingerprint datasetFingerprint(Operand<? extends TType> inputDataset) { |
| 403 | + return DatasetFingerprint.create(scope, inputDataset); |
| 404 | + } |
| 405 | + |
393 | 406 | /**
|
394 | 407 | * Creates a dataset from the given {@code graph_def}.
|
395 | 408 | * Creates a dataset from the provided {@code graph_def}.
|
@@ -873,6 +886,19 @@ public LegacyParallelInterleaveDataset legacyParallelInterleaveDataset(
|
873 | 886 | return LegacyParallelInterleaveDataset.create(scope, inputDataset, otherArguments, cycleLength, blockLength, bufferOutputElements, prefetchInputElements, f, outputTypes, outputShapes, options);
|
874 | 887 | }
|
875 | 888 |
|
| 889 | + /** |
| 890 | + * The ListSnapshotChunksDataset operation |
| 891 | + * |
| 892 | + * @param snapshotPath The snapshotPath value |
| 893 | + * @param outputTypes The value of the outputTypes attribute |
| 894 | + * @param outputShapes The value of the outputShapes attribute |
| 895 | + * @return a new instance of ListSnapshotChunksDataset |
| 896 | + */ |
| 897 | + public ListSnapshotChunksDataset listSnapshotChunksDataset(Operand<TString> snapshotPath, |
| 898 | + List<Class<? extends TType>> outputTypes, List<Shape> outputShapes) { |
| 899 | + return ListSnapshotChunksDataset.create(scope, snapshotPath, outputTypes, outputShapes); |
| 900 | + } |
| 901 | + |
876 | 902 | /**
|
877 | 903 | * The LoadDataset operation
|
878 | 904 | *
|
|
0 commit comments