You can achieve the effect of np.repeat() using a combination of tf.tile() and tf.reshape() : idx = tf.range(len(yp)) idx = tf.reshape(idx, ...
確定! 回上一頁