使用TensorFlow常量进行索引也无效: idx = tf.constant(np.repeat(np.arange(n), n)) v2 = v[idx]. - TypeError: Bad slice index Tensor("Const:0", ...
確定! 回上一頁