The following is not implemented: ``` python import tensorflow as tf with tf.Session() as sess: const = tf.constant([1, 2]) ret = const[0] print(sess.run(ret)) # prints 1 ``` C#'s equivalent: ``` C# Tensor const = tf.constant(new int[]{1,2}); Tensor ret = const[0]; ```
Activity
Oceania2018 commentedon Aug 28, 2019
@Nucs For some other reason, we use
tensor.slice.You can try to improve it.
Tensor indexing. #368
Oceania2018 commentedon Aug 31, 2019
Will be avaiable on v0.11.2.
support n-dim indexing. #368