Share Brilliantly
tensor flow
let input = tf.tensor([[1, 2, 1, 1]]);
let input2 = tf.tensor([[5, 2, 1, 1]]);
let test = input.add(input2);
Try it!
let input = tf.tensor([1, 2, 1, 1]);
let test = tf.argMax(input);
Try it!
let input = tf.tensor([[1, 2, 10, 1],[1,2,3,4]]);
let test = tf.argMax(input,1);
Try it!