张量数组为: array = [1, 1, 0, 1, 1, 0]
如果我使用 tf.argmax(),它只能找到第一个索引。输出=>“0”
但我想找到最后一个索引的最大值。输出将为“4”
tensorflow
tensorflow ×1