### Question:
GraphOperation extends AbstractOperation { @Override public int inputListLength(final String name) { Graph.Reference r = graph.ref(); try { return inputListLength(getUnsafeNativeHandle(), name); } finally { r.close(); } } GraphOperation(Graph g, TF_Operation unsafeNativeHandle); @Override String name(); @Override String type(); @Override int numOutputs(); @Override int outputListLength(final String name); @Override int hashCode(); @Override boolean equals(Object o); @Override int inputListLength(final String name);  }### Answer:
@Test public void inputListLength() { try (Graph g = new Graph()) { Ops tf = Ops.create(g); assertEquals(1, tf.split(tf.constant(0), tf.array(0, 1), 1L).op().inputListLength("split_dim")); try { tf.split(tf.constant(0), tf.array(0, 1), 2L).op().inputListLength("inputs"); } catch (TFInvalidArgumentException iae) { } } }