message: Added unit test for InputList fix
  irenedea<irenedea@fb.com>
  melissagrueter<melissagrueter@fb.com>
diff: @@ -17,6 +17,7 @@ package org.tensorflow.op.core;
  import static org.junit.Assert.assertEquals;
  +import java.util.ArrayList;
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.junit.runners.JUnit4;
  @@ -40,4 +41,20 @@ public final class GeneratedOperationsTest {
  }
  }
  }
  +
  + @Test
  + public void testListInputTensorOutput() {
  + try (Graph g = new Graph();
  + Session sess = new Session(g)) {
  + Ops ops = Ops.create(g);
  + ArrayList<Operand<Integer>> inputs = new ArrayList<Operand<Integer>>();
  + inputs.add(ops.constant(1));
  + inputs.add(ops.constant(2));
  + inputs.add(ops.constant(3));
  + Operand<Integer> x = ops.math().addN(inputs);
  + try (Tensor<Integer> result = sess.runner().fetch(x).run().get(0).expect(Integer.class)) {
  + assertEquals(6, result.intValue());
  + }
  + }
  + }
  }
  