message: Add output tensor shape accessors in model.Model.
diff: @@ -86,18 +86,27 @@ public class Model {
  }
  }
  - /** Return the memory-mapped model data. */
  + /** Returns the memory-mapped model data. */
  @NonNull
  public MappedByteBuffer getData() {
  return byteModel;
  }
  - /** Return the path of the model file stored in Assets. */
  + /** Returns the path of the model file stored in Assets. */
  @NonNull
  public String getPath() {
  return modelPath;
  }
  + /**
  + * Returns the output shape. Useful if output shape is only determined when graph is created.
  + *
  + * @throws IllegalStateException if the interpreter is closed.
  + */
  + public int[] getOutputTensorShape(int outputIndex) {
  + return interpreter.getOutputTensor(outputIndex).shape();
  + }
  +
  /**
  * Runs model inference on multiple inputs, and returns multiple outputs.
  *
  