We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tf.data.experimental.RandomDataset
tf.data.Dataset.random
1 parent 3902386 commit b54b9c2Copy full SHA for b54b9c2
tensorflow_examples/lite/model_maker/core/task/model_spec/audio_spec_test.py
@@ -38,7 +38,7 @@ def fn(value):
38
39
return fn
40
41
- wav_ds = tf.data.experimental.RandomDataset(seed=seed).take(total_samples)
+ wav_ds = tf.data.Dataset.random(seed=seed).take(total_samples)
42
wav_ds = wav_ds.map(fill_shape([
43
spec.target_sample_rate,
44
]))
0 commit comments