summaryrefslogtreecommitdiff
path: root/nn/common/include/IndexedShapeWrapper.h
AgeCommit message (Collapse)Author
2019-07-30Fix names of #include guard symbols.David Gross
Subsequent discussion recommended "ANDROID_" prefix. Pattern: ANDROID_FRAMEWORKS_ML_${RELPATH}_H, where ${RELPATH} is relative to frameworks/ml, with "include" path component (if any) removed, everything in caps, and word breaks indicated by underscores (rather than by upper case). This is derived from our current practices in frameworks/ml. Generate name: ANDROID_FRAMEWORKS_ML_$(echo ${RELPATH} | sed -e 's!/include!!g' -e 's![/.]!_!g' -e 's!\([^_A-Z]\)\([A-Z]\)!\1_\2!g' | awk '{ print toupper($1); }') Bug: 129138718 Test: cd frameworks/ml ; mma Change-Id: Ida001ba3767e8a6984e47b3570c69b1ba91f8bd4 Merged-In: Ida001ba3767e8a6984e47b3570c69b1ba91f8bd4
2019-07-03Rationalize names of #include guard symbols.David Gross
Pattern: FRAMEWORKS_ML_${RELPATH}_H, where ${RELPATH} is relative to frameworks/ml, with "include" path component (if any) removed, everything in caps, and word breaks indicated by underscores (rather than by upper case). This is derived from our current practices in frameworks/ml. Generate name: FRAMEWORKS_ML_$(echo ${RELPATH} | sed -e 's!/include!!g' -e 's![/.]!_!g' -e 's!\([^_A-Z]\)\([A-Z]\)!\1_\2!g' | awk '{ print toupper($1); }') Bug: 129138718 Test: cd frameworks/ml ; mma Merged-In: I06f06b6e38f5d263657f4116e5f43b6bb59d036a Change-Id: I06f06b6e38f5d263657f4116e5f43b6bb59d036a
2018-11-09Extract IndexedShapeWrapper into a separate fileSlava Shklyaev
I am going to use IndexedShapeWrapper in my implementation of MAXIMUM. Bug: 113560501 Test: mma Change-Id: I8a740167f128819ca3005c19da5b607537ad07eb Merged-In: I8a740167f128819ca3005c19da5b607537ad07eb (cherry picked from commit 8b165e64bce2eed15d34a2a7d319916ccebbf88a)