Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3431d60 authored by Slava Shklyaev's avatar Slava Shklyaev Committed by Automerger Merge Worker
Browse files

Fix stale NNAPI documentation am: d23380f0

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1363544

Change-Id: Id5436153df19086e7482a89541c0ebfb5c1b692b
parents c527a74f d23380f0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -652,6 +652,8 @@ b809193970a91ca637a4b0184767315601d32e3ef3d5992ffbc7a8d14a14f015 android.hardwar

# ABI preserving changes to HALs during Android S
cd84ab19c590e0e73dd2307b591a3093ee18147ef95e6d5418644463a6620076 android.hardware.neuralnetworks@1.2::IDevice
9625e85f56515ad2cf87b6a1847906db669f746ea4ab02cd3d4ca25abc9b0109 android.hardware.neuralnetworks@1.2::types
745295adfd826de650eedaf8cc6979f52a1cf30b04ea7a089a132d0089475e95 android.hardware.neuralnetworks@1.3::types
38d65fb20c60a5b823298560fc0825457ecdc49603a4b4e94bf81511790737da android.hardware.radio@1.4::types
954c334efd80e8869b66d1ce5fe2755712d96ba4b3c38d415739c330af5fb4cb android.hardware.radio@1.5::types

+6 −3
Original line number Diff line number Diff line
@@ -4853,15 +4853,18 @@ struct Operand {
    /**
     * Quantized scale of the operand.
     *
     * Only applicable if the operand is of type TENSOR_QUANT8_ASYMM or
     * TENSOR_INT32.
     * Must be 0 when not applicable to an operand type.
     *
     * See {@link OperandType}.
     */
    float scale;

    /**
     * Quantized zero-point offset of the operand.
     *
     * Only applicable if the operand is of type TENSOR_QUANT8_ASYMM.
     * Must be 0 when not applicable to an operand type.
     *
     * See {@link OperandType}.
     */
    int32_t zeroPoint;

+6 −3
Original line number Diff line number Diff line
@@ -251,15 +251,18 @@ struct Operand {
    /**
     * Quantized scale of the operand.
     *
     * Only applicable if the operand is of type TENSOR_QUANT8_ASYMM or
     * TENSOR_INT32.
     * Must be 0 when not applicable to an operand type.
     *
     * See {@link OperandType}.
     */
    float scale;

    /**
     * Quantized zero-point offset of the operand.
     *
     * Only applicable if the operand is of type TENSOR_QUANT8_ASYMM.
     * Must be 0 when not applicable to an operand type.
     *
     * See {@link OperandType}.
     */
    int32_t zeroPoint;

+13 −10
Original line number Diff line number Diff line
@@ -5103,8 +5103,8 @@ enum OperationType : int32_t {
     * signature of this operation. That is, if the operation has (3 + n) inputs
     * and m outputs, both subgraphs must have n inputs and m outputs with the same
     * types, ranks, dimensions, scales,
     * zeroPoints, and extraParams as the corresponding operation inputs and
     * outputs.
     * zeroPoints, and extraParams as the corresponding operation
     * inputs and outputs.
     * All of the operands mentioned must have fully specified dimensions.
     *
     * Inputs:
@@ -5170,15 +5170,15 @@ enum OperationType : int32_t {
     * * 0: A {@link OperandType::SUBGRAPH} reference to the condition
     *      subgraph. The subgraph must have (m + k + n) inputs with
     *      the same types, ranks, dimensions,
     *      scales, zeroPoints, and extraParams as the corresponding inputs of
     *      the WHILE operation and exactly one output of
     *      {@link OperandType::TENSOR_BOOL8} and shape [1].
     *      scales, zeroPoints, and extraParams as the
     *      corresponding inputs of the WHILE operation and exactly one output
     *      of {@link OperandType::TENSOR_BOOL8} and shape [1].
     *      All of the operands mentioned must have fully specified dimensions.
     * * 1: A {@link OperandType::SUBGRAPH} reference to the body subgraph.
     *      The subgraph must have (m + k + n) inputs and (m + k) outputs with
     *      the same types, ranks, dimensions,
     *      scales, zeroPoints, and extraParams as the corresponding inputs and
     *      outputs of the WHILE operation.
     *      scales, zeroPoints, and extraParams as the
     *      corresponding inputs and outputs of the WHILE operation.
     *      All of the operands mentioned must have fully specified dimensions.
     * * (m inputs): Initial values for input-output operands.
     * * (k inputs): Initial values for state-only operands.
@@ -5538,15 +5538,18 @@ struct Operand {
    /**
     * Quantized scale of the operand.
     *
     * Only applicable if the operand is of type TENSOR_QUANT8_ASYMM or
     * TENSOR_INT32.
     * Must be 0 when not applicable to an operand type.
     *
     * See {@link OperandType}.
     */
    float scale;

    /**
     * Quantized zero-point offset of the operand.
     *
     * Only applicable if the operand is of type TENSOR_QUANT8_ASYMM.
     * Must be 0 when not applicable to an operand type.
     *
     * See {@link OperandType}.
     */
    int32_t zeroPoint;

+6 −3
Original line number Diff line number Diff line
@@ -303,15 +303,18 @@ struct Operand {
    /**
     * Quantized scale of the operand.
     *
     * Only applicable if the operand is of type TENSOR_QUANT8_ASYMM or
     * TENSOR_INT32.
     * Must be 0 when not applicable to an operand type.
     *
     * See {@link OperandType}.
     */
    float scale;

    /**
     * Quantized zero-point offset of the operand.
     *
     * Only applicable if the operand is of type TENSOR_QUANT8_ASYMM.
     * Must be 0 when not applicable to an operand type.
     *
     * See {@link OperandType}.
     */
    int32_t zeroPoint;