Documentation improvements.

Specify that an output cannot overlap with an output/input/constant.

Document required lifetime of ANeuralNetworksOperandType* parameters.

Document ANEURALNETWORKS_OEM_OPERATION shape constraints:

    Because the semantics of an ANEURALNETWORKS_OEM_OPERATION are
    determined entirely by the driver, the NNAPI runtime cannot deduce
    the shape of its output(s); and we have not designed the HAL in a way
    that allows the driver to to communicate output shape back to the
    runtime.

    The NNAPI partitioner cannot handle an inter-partition temporary of
    unknown shape; and because ANEURALNETWORKS_OEM_OPERATION cannot be
    executed on the CPU, the partitioner has no guaranteed way to find a
    partitioning where every inter-partition temporary has known shape.
    We avoid this problem by requiring that any model containing an
    ANEURALNETWORKS_OEM_OPERATION either contain only one operation (so
    there is only one partition) or contain only operands of known
    shape.

Fix typos.

Test: mma at tree root

Bug: 79888238
Bug: 79152812
Bug: 77236591

Change-Id: I1916f85c79f0942e8c313c4b1f67aea701fe58ba
2 files changed
tree: e1ddddb94806cf6a1945783c5c023a52cf86fe23
  1. nn/
  2. CleanSpec.mk
  3. OWNERS