summaryrefslogtreecommitdiff
path: root/nn/runtime/include/NeuralNetworks.h
diff options
context:
space:
mode:
authorDavid Gross <dgross@google.com>2018-03-14 13:43:47 -0700
committerDavid Gross <dgross@google.com>2018-03-14 13:43:47 -0700
commit0deadd8c690b5a131d66e4bc03667315f28df321 (patch)
treec4364f636c44c7517a0a86f3ad7833c9139cfd42 /nn/runtime/include/NeuralNetworks.h
parentee8da78f88aebeddcde85544cc126c0858badbc2 (diff)
downloadml-0deadd8c690b5a131d66e4bc03667315f28df321.tar.gz
Call validation from ModelBuilder::finish().
Also: - Make incompletely-initialized large operand values recognizable as incompletely-initialized (for easier validation and manual debugging). - Fix typos. Test: nn/runtime/test/NeuralNetworksTest_static Bug: 74784979 Change-Id: I4753ca137228d733b10097e68a3ef3e2fb6f46c7
Diffstat (limited to 'nn/runtime/include/NeuralNetworks.h')
-rw-r--r--nn/runtime/include/NeuralNetworks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nn/runtime/include/NeuralNetworks.h b/nn/runtime/include/NeuralNetworks.h
index 008c1ab50..33042e2af 100644
--- a/nn/runtime/include/NeuralNetworks.h
+++ b/nn/runtime/include/NeuralNetworks.h
@@ -2138,7 +2138,7 @@ int ANeuralNetworksExecution_setInput(ANeuralNetworksExecution* execution, int32
* model. If the type is the same as specified when the model
* was built, NULL can be passed.
* @param memory The memory containing the data.
- * @param offset This specifies the location of the data whithin the memory.
+ * @param offset This specifies the location of the data within the memory.
* The offset is in bytes from the start of memory.
* @param length The size in bytes of the data value.
*
@@ -2204,7 +2204,7 @@ int ANeuralNetworksExecution_setOutput(ANeuralNetworksExecution* execution, int3
* model. If the type is the same as specified when the model
* was built, NULL can be passed.
* @param memory The memory where the data is to be stored.
- * @param offset This specifies the location of the data whithin the memory.
+ * @param offset This specifies the location of the data within the memory.
* The offset is in bytes from the start of memory.
* @param length The length in bytes of the data value.
*