Skip to content

Commit 0feefb5

Browse files
MarkDaoustcopybara-github
authored andcommitted
Stateless-split is no longer experimental.
PiperOrigin-RevId: 513401860
1 parent 2fa0d00 commit 0feefb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/tutorials/images/data_augmentation.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@
11441144
" image, label = resize_and_rescale(image, label)\n",
11451145
" image = tf.image.resize_with_crop_or_pad(image, IMG_SIZE + 6, IMG_SIZE + 6)\n",
11461146
" # Make a new seed.\n",
1147-
" new_seed = tf.random.experimental.stateless_split(seed, num=1)[0, :]\n",
1147+
" new_seed = tf.random.split(seed, num=1)[0, :]\n",
11481148
" # Random crop back to the original size.\n",
11491149
" image = tf.image.stateless_random_crop(\n",
11501150
" image, size=[IMG_SIZE, IMG_SIZE, 3], seed=seed)\n",

0 commit comments

Comments
 (0)