diff options
author | Miao Wang <miaowang@google.com> | 2019-03-13 12:32:27 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-03-13 12:32:27 -0700 |
commit | 8e501a7d31b3e8e5a9c0a24bf20900a694e5c981 (patch) | |
tree | 408b92e37f4ccb669fb1e3e68ad531b52ad31514 /neuralnetworks | |
parent | 37107361a4a6ab7ff55e19a58e0bc8c9d91f745c (diff) | |
parent | e9100c8b88ac739ead21cf272971c0d26fa69887 (diff) | |
download | android_hardware_interfaces-8e501a7d31b3e8e5a9c0a24bf20900a694e5c981.tar.gz android_hardware_interfaces-8e501a7d31b3e8e5a9c0a24bf20900a694e5c981.tar.bz2 android_hardware_interfaces-8e501a7d31b3e8e5a9c0a24bf20900a694e5c981.zip |
Fix the documentation about paddings for SPACE_TO_BATCH_ND am: 9c9fea329e am: f29553e3e1
am: e9100c8b88
Change-Id: Iec682b2ea2dcbc5435d6d6f0ad3894f36f5f0ed8
Diffstat (limited to 'neuralnetworks')
-rw-r--r-- | neuralnetworks/1.1/types.hal | 3 | ||||
-rw-r--r-- | neuralnetworks/1.2/types.hal | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/neuralnetworks/1.1/types.hal b/neuralnetworks/1.1/types.hal index c9de76b27..99f873a5a 100644 --- a/neuralnetworks/1.1/types.hal +++ b/neuralnetworks/1.1/types.hal @@ -186,7 +186,8 @@ enum OperationType : @1.0::OperationType { * must be >= 1. * * 2: A 2-D Tensor of {@link OperandType::TENSOR_INT32}, the paddings * for each spatial dimension of the input tensor. All values must be - * >= 0. The shape of the tensor must be {rank(input0), 2}. + * >= 0. The shape of the tensor must be {M, 2}, where M is the number + * of spatial dimensions. * padding[i, 0] specifies the number of element to be padded in the * front of dimension i. * padding[i, 1] specifies the number of element to be padded after the diff --git a/neuralnetworks/1.2/types.hal b/neuralnetworks/1.2/types.hal index bb14dec07..f2e02b8ce 100644 --- a/neuralnetworks/1.2/types.hal +++ b/neuralnetworks/1.2/types.hal @@ -1979,7 +1979,8 @@ enum OperationType : int32_t { * must be >= 1. * * 2: A 2-D Tensor of {@link OperandType::TENSOR_INT32}, the paddings * for each spatial dimension of the input tensor. All values must be - * >= 0. The shape of the tensor must be {rank(input0), 2}. + * >= 0. The shape of the tensor must be {M, 2}, where M is the number + * of spatial dimensions. * padding[i, 0] specifies the number of element to be padded in the * front of dimension i. * padding[i, 1] specifies the number of element to be padded after the |