summaryrefslogtreecommitdiff
path: root/nn
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-06-30 22:27:45 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-06-30 22:27:45 +0000
commit05d129e50e376f9f56181b40c0640b1f03a7f118 (patch)
treeaacc73a8fe0f089db321e4078b4a9053242c6a7f /nn
parent5bbdcaf19011759d215cb92471b21dbf2b818463 (diff)
parentcba9e41c4d3d6eb4f8c1a1ad34d1169afa686859 (diff)
downloadml-05d129e50e376f9f56181b40c0640b1f03a7f118.tar.gz
Merge "nn: Use standard integer types." am: cba9e41c4d
Original change: https://android-review.googlesource.com/c/platform/frameworks/ml/+/1341573 Change-Id: Ic4da01820e92c5997923e7c6cf9cd9329f1ff79f
Diffstat (limited to 'nn')
-rw-r--r--nn/runtime/test/TestValidateOperations.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/nn/runtime/test/TestValidateOperations.cpp b/nn/runtime/test/TestValidateOperations.cpp
index f8d376e3a..5c4647227 100644
--- a/nn/runtime/test/TestValidateOperations.cpp
+++ b/nn/runtime/test/TestValidateOperations.cpp
@@ -208,7 +208,8 @@ class TensorRankConstraint {
private:
std::vector<OperandTypeWithExtraParams> ModifyForRank(
- const std::vector<OperandTypeWithExtraParams>& operandsTypeWithParams, uint_t newRank) {
+ const std::vector<OperandTypeWithExtraParams>& operandsTypeWithParams,
+ uint32_t newRank) {
std::vector<OperandTypeWithExtraParams> result;
std::transform(operandsTypeWithParams.cbegin(), operandsTypeWithParams.cend(),
std::back_inserter(result),
@@ -219,7 +220,7 @@ class TensorRankConstraint {
}
OperandTypeWithExtraParams ModifyForRank(
- const OperandTypeWithExtraParams& operandTypeWithParams, uint_t newRank) {
+ const OperandTypeWithExtraParams& operandTypeWithParams, uint32_t newRank) {
if (operandTypeWithParams.operandType.dimensionCount == newRank) {
return operandTypeWithParams;
}