Home
last modified time | relevance | path

Searched refs:maxIndex (Results 1 – 25 of 56) sorted by relevance

123

/external/tensorflow/tensorflow/lite/swift/Sources/
DInterpreter.swift149 let maxIndex = inputTensorCount - 1 in input() variable
150 guard case 0...maxIndex = index else { in input()
151 throw InterpreterError.invalidTensorIndex(index: index, maxIndex: maxIndex) in input()
195 let maxIndex = outputTensorCount - 1 in output() variable
196 guard case 0...maxIndex = index else { in output()
197 throw InterpreterError.invalidTensorIndex(index: index, maxIndex: maxIndex) in output()
242 let maxIndex = inputTensorCount - 1 in resizeInput() variable
243 guard case 0...maxIndex = index else { in resizeInput()
244 throw InterpreterError.invalidTensorIndex(index: index, maxIndex: maxIndex) in resizeInput()
268 let maxIndex = inputTensorCount - 1 in copy() variable
[all …]
DInterpreterError.swift19 case invalidTensorIndex(index: Int, maxIndex: Int)
36 case .invalidTensorIndex(let index, let maxIndex):
/external/tensorflow/tensorflow/lite/swift/Tests/
DInterpreterTests.swift88 let maxIndex = AddModel.inputTensorCount - 1 in testInputTensorAtIndex_ThrowsInvalidIndex() variable
91 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testInputTensorAtIndex_ThrowsInvalidIndex()
125 let maxIndex = AddModel.outputTensorCount - 1 in testOutputTensorAtIndex_ThrowsInvalidIndex() variable
128 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testOutputTensorAtIndex_ThrowsInvalidIndex()
151 let maxIndex = AddModel.inputTensorCount - 1 in testResizeInputTensorAtIndexToShape_ThrowsInvalidIndex() variable
154 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testResizeInputTensorAtIndexToShape_ThrowsInvalidIndex()
173 let maxIndex = AddModel.inputTensorCount - 1 in testCopyDataToInputTensorAtIndex_ThrowsInvalidIndex() variable
176 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testCopyDataToInputTensorAtIndex_ThrowsInvalidIndex()
/external/eigen/doc/examples/
DTutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp12 MatrixXf::Index maxIndex; in main() local
13 float maxNorm = mat.colwise().sum().maxCoeff(&maxIndex); in main()
15 std::cout << "Maximum sum at position " << maxIndex << std::endl; in main()
18 std::cout << mat.col( maxIndex ) << std::endl; in main()
/external/cronet/third_party/icu/source/test/cintltst/
Duenumtst.c41 int32_t maxIndex; member
63 return cont->maxIndex; in chArrayCount()
69 if(cont->currIndex >= cont->maxIndex) { in chArrayUNext()
87 if(cont->currIndex >= cont->maxIndex) { in chArrayNext()
151 int32_t maxIndex; member
168 return ucont->maxIndex; in uchArrayCount()
174 if(ucont->currIndex >= ucont->maxIndex) { in uchArrayUNext()
211 cont->maxIndex = size; in getchArrayEnum()
282 ucont->maxIndex = size; in getuchArrayEnum()
/external/icu/icu4c/source/test/cintltst/
Duenumtst.c41 int32_t maxIndex; member
63 return cont->maxIndex; in chArrayCount()
69 if(cont->currIndex >= cont->maxIndex) { in chArrayUNext()
87 if(cont->currIndex >= cont->maxIndex) { in chArrayNext()
151 int32_t maxIndex; member
168 return ucont->maxIndex; in uchArrayCount()
174 if(ucont->currIndex >= ucont->maxIndex) { in uchArrayUNext()
211 cont->maxIndex = size; in getchArrayEnum()
282 ucont->maxIndex = size; in getuchArrayEnum()
/external/renderscript-intrinsics-replacement-toolkit/test-app/src/main/java/com/google/android/renderscript_test/
DReferenceLut3d.kt45 val maxIndex = Int4(cube.sizeX - 1, cube.sizeY - 1, cube.sizeZ - 1, 0) in lookup() constant
46 val baseCoordinate: Float4 = input.toFloat4() * maxIndex.toFloat4() / 255f in lookup()
48 val point2: Int4 = min(point1 + 1, maxIndex) in lookup()
/external/armnn/samples/SpeechRecognition/include/
DDecoder.hpp49 …int maxIndex = std::distance(rowVector.begin(), std::max_element(rowVector.begin(), rowVector.end(… in DecodeOutput() local
50 unfilteredText.emplace_back(this->m_labels.at(maxIndex)[0]); in DecodeOutput()
/external/angle/src/common/
Dutilities.cpp36 IndexType maxIndex = 0; in ComputeTypedIndexRange() local
48 maxIndex = indices[i]; in ComputeTypedIndexRange()
63 if (maxIndex < indices[i]) in ComputeTypedIndexRange()
65 maxIndex = indices[i]; in ComputeTypedIndexRange()
74 maxIndex = indices[0]; in ComputeTypedIndexRange()
83 if (maxIndex < indices[i]) in ComputeTypedIndexRange()
85 maxIndex = indices[i]; in ComputeTypedIndexRange()
90 return gl::IndexRange(static_cast<size_t>(minIndex), static_cast<size_t>(maxIndex), in ComputeTypedIndexRange()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DOpenTypeTableWriter.java52 int maxIndex = length(); in dumpTable() local
54 for (int i = 0; i < maxIndex; i += 1) { in dumpTable()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DAbstractRealVector.java327 int maxIndex = -1; in getMaxIndex() local
333 maxIndex = entry.getIndex(); in getMaxIndex()
337 return maxIndex; in getMaxIndex()
344 final int maxIndex = getMaxIndex(); in getMaxValue() local
345 return maxIndex < 0 ? Double.NaN : getEntry(maxIndex); in getMaxValue()
/external/clang/utils/ABITest/
DABITestGen.py595 if opts.maxIndex is None:
597 opts.maxIndex = 10000000
599 opts.maxIndex = ftg.cardinality
600 opts.maxIndex = min(opts.maxIndex, ftg.cardinality)
601 opts.minIndex = max(0,min(opts.maxIndex-1, opts.minIndex))
603 opts.count = min(opts.count, opts.maxIndex-opts.minIndex)
663 index = opts.minIndex + int((opts.maxIndex-opts.minIndex) * random.random())
/external/skia/src/codec/
DSkIcoCodec.cpp192 int maxIndex = 0; in MakeFromStream() local
199 maxIndex = i; in MakeFromStream()
203 auto maxInfo = codecs->operator[](maxIndex)->getEncodedInfo().copy(); in MakeFromStream()
/external/icu/icu4c/source/test/letest/
Dcletest.c701 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
706 if (ix > maxIndex) { in GlyphToCharTest()
707 maxIndex = ix; in GlyphToCharTest()
721 charIndex = maxIndex + 1; in GlyphToCharTest()
Dletest.cpp931 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
936 if (ix > maxIndex) { in GlyphToCharTest()
937 maxIndex = ix; in GlyphToCharTest()
951 charIndex = maxIndex + 1; in GlyphToCharTest()
/external/cronet/third_party/icu/source/test/letest/
Dcletest.c701 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
706 if (ix > maxIndex) { in GlyphToCharTest()
707 maxIndex = ix; in GlyphToCharTest()
721 charIndex = maxIndex + 1; in GlyphToCharTest()
Dletest.cpp931 le_int32 minIndex = 0x7FFFFFFF, maxIndex = -1; in GlyphToCharTest() local
936 if (ix > maxIndex) { in GlyphToCharTest()
937 maxIndex = ix; in GlyphToCharTest()
951 charIndex = maxIndex + 1; in GlyphToCharTest()
/external/angle/src/libANGLE/renderer/vulkan/shaders/src/
DConvertIndex.comp55 uint maxIndex;
69 uint maxIndex;
105 uint endIndex = firstIndex + maxIndex;
/external/angle/src/libANGLE/renderer/vulkan/
DUtilsVk.h49 uint32_t maxIndex = 0; member
57 uint32_t maxIndex = 0; member
323 uint32_t maxIndex = 0; member
332 uint32_t maxIndex = 0; member
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/examples/
DLabelImage.java67 int bestLabelIdx = maxIndex(labelProbabilities); in main()
130 private static int maxIndex(float[] probabilities) { in maxIndex() method in LabelImage
/external/guava/guava/src/com/google/common/collect/
DDenseImmutableTable.java132 private final int maxIndex = keyToIndex().size(); in entryIterator() local
137 for (index++; index < maxIndex; index++) { in entryIterator()
/external/guava/android/guava/src/com/google/common/collect/
DDenseImmutableTable.java132 private final int maxIndex = keyToIndex().size(); in entryIterator() local
137 for (index++; index < maxIndex; index++) { in entryIterator()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_p_o_s_t.py89 maxIndex = max(indices)
90 self.extraNames = extraNames = unpackPStrings(data, maxIndex-257)
/external/deqp/modules/gles2/functional/
Des2fNegativeShaderApiTests.cpp397 GLuint maxIndex = m_context.getContextInfo().getInt(GL_MAX_VERTEX_ATTRIBS); in init()
401 glBindAttribLocation(program, maxIndex, "test"); in init()
406 glBindAttribLocation(program, maxIndex-1, "gl_test"); in init()
411 glBindAttribLocation(-1, maxIndex-1, "test"); in init()
416 glBindAttribLocation(shader, maxIndex-1, "test"); in init()
/external/angle/src/libANGLE/renderer/vulkan/shaders/gen/
DConvertIndex.comp.00000000.inc83 // uint maxIndex;
109 // uint endIndex = firstIndex + maxIndex;

123