LISTING 6.19: tf-repeat.py import tensorflow as tf import numpy as np ds1 = tf.data.Dataset.from_tensor_slices(tf.range(4)) ds1 = ds1.repeat(2) iterator ...
確定! 回上一頁