summaryrefslogtreecommitdiff
path: root/nn
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2018-04-20 14:39:58 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-04-20 14:39:58 +0000
commit130f1868e1debccb6f432d6ba0c4c27f9cb5f93d (patch)
treed271d2d448356ae2a1067746bf5e94336d038986 /nn
parent61bd257e3f6740d41f219142987d6dc6444c0459 (diff)
parent369a512b5626af9f1722a9674166adeeed5bc057 (diff)
downloadml-130f1868e1debccb6f432d6ba0c4c27f9cb5f93d.tar.gz
Merge "Document that RESIZE_BILINEAR will not force align corner pixels." into pi-dev
Diffstat (limited to 'nn')
-rw-r--r--nn/runtime/include/NeuralNetworks.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nn/runtime/include/NeuralNetworks.h b/nn/runtime/include/NeuralNetworks.h
index 235131c6a..9204b423e 100644
--- a/nn/runtime/include/NeuralNetworks.h
+++ b/nn/runtime/include/NeuralNetworks.h
@@ -1015,7 +1015,8 @@ typedef enum {
/** Resizes images to given size using the bilinear interpretation.
*
* Resized images will be distorted if their output aspect ratio is not the same as
- * input aspect ratio.
+ * input aspect ratio. The corner pixels of output may not be the same as
+ * corner pixels of input.
*
* Supported tensor types:
* * {@link ANEURALNETWORKS_TENSOR_FLOAT32}