/external/tensorflow/tensorflow/lite/experimental/swift/Sources/ |
D | Interpreter.swift | 99 let maxIndex = inputTensorCount - 1 in input() variable 100 guard case 0...maxIndex = index else { in input() 101 throw InterpreterError.invalidTensorIndex(index: index, maxIndex: maxIndex) in input() 146 let maxIndex = outputTensorCount - 1 in output() variable 147 guard case 0...maxIndex = index else { in output() 148 throw InterpreterError.invalidTensorIndex(index: index, maxIndex: maxIndex) in output() 195 let maxIndex = inputTensorCount - 1 in resizeInput() variable 196 guard case 0...maxIndex = index else { in resizeInput() 197 throw InterpreterError.invalidTensorIndex(index: index, maxIndex: maxIndex) in resizeInput() 220 let maxIndex = inputTensorCount - 1 in copy() variable [all …]
|
D | InterpreterError.swift | 19 case invalidTensorIndex(index: Int, maxIndex: Int) 38 case .invalidTensorIndex(let index, let maxIndex):
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | IndexDataManager.cpp | 63 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) in computeRange() argument 66 *maxIndex = indices[0]; in computeRange() 71 if(*maxIndex < indices[i]) *maxIndex = indices[i]; in computeRange() 75 …d computeRange(GLenum type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex) in computeRange() argument 79 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex); in computeRange() 83 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex); in computeRange() 113 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex); in prepareIndexData() 135 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex); in prepareIndexData()
|
D | IndexDataManager.h | 31 unsigned int maxIndex; member
|
/external/tensorflow/tensorflow/lite/experimental/swift/Tests/ |
D | InterpreterTests.swift | 85 let maxIndex = AddModel.inputTensorCount - 1 in testInterpreter_InputTensorAtIndex_ThrowsInvalidIndex() variable 88 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testInterpreter_InputTensorAtIndex_ThrowsInvalidIndex() 122 let maxIndex = AddModel.outputTensorCount - 1 in testInterpreter_OutputTensorAtIndex_ThrowsInvalidIndex() variable 125 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testInterpreter_OutputTensorAtIndex_ThrowsInvalidIndex() 146 let maxIndex = AddModel.inputTensorCount - 1 in testInterpreter_ResizeInputTensorAtIndexToShape_ThrowsInvalidIndex() variable 149 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testInterpreter_ResizeInputTensorAtIndexToShape_ThrowsInvalidIndex() 166 let maxIndex = AddModel.inputTensorCount - 1 in testInterpreter_CopyDataToInputTensorAtIndex_ThrowsInvalidIndex() variable 169 expected: .invalidTensorIndex(index: AddModel.invalidIndex, maxIndex: maxIndex) in testInterpreter_CopyDataToInputTensorAtIndex_ThrowsInvalidIndex()
|
/external/eigen/doc/examples/ |
D | Tutorial_ReductionsVisitorsBroadcasting_maxnorm.cpp | 12 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/swiftshader/src/OpenGL/libGLESv2/ |
D | IndexDataManager.cpp | 196 void computeRange(const IndexType *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex, std:… in computeRange() argument 198 *maxIndex = 0; in computeRange() 209 if(*maxIndex < indices[i]) *maxIndex = indices[i]; in computeRange() 213 …num type, const void *indices, GLsizei count, GLuint *minIndex, GLuint *maxIndex, std::vector<GLsi… in computeRange() argument 217 computeRange(static_cast<const GLubyte*>(indices), count, minIndex, maxIndex, restartIndices); in computeRange() 221 computeRange(static_cast<const GLuint*>(indices), count, minIndex, maxIndex, restartIndices); in computeRange() 225 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex, restartIndices); in computeRange() 293 computeRange(type, indices, count, &translated->minIndex, &translated->maxIndex, restartIndices); in prepareIndexData() 354 if(translated->minIndex < start || translated->maxIndex > end) in prepareIndexData() 356 …ded: [%d -> %d]. Range used: [%d -> %d].", start, end, translated->minIndex, translated->maxIndex); in prepareIndexData()
|
D | IndexDataManager.h | 33 unsigned int maxIndex; member
|
/external/icu/icu4c/source/test/cintltst/ |
D | uenumtst.c | 41 int32_t maxIndex; member 62 return cont->maxIndex; in chArrayCount() 67 if(cont->currIndex >= cont->maxIndex) { in chArrayUNext() 84 if(cont->currIndex >= cont->maxIndex) { in chArrayNext() 147 int32_t maxIndex; member 163 return ucont->maxIndex; in uchArrayCount() 168 if(ucont->currIndex >= ucont->maxIndex) { in uchArrayUNext() 204 cont->maxIndex = size; in getchArrayEnum() 275 ucont->maxIndex = size; in getuchArrayEnum()
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | Correlation.java | 72 int maxIndex = -1; in computeCorrelation() local 86 maxIndex = i; in computeCorrelation() 92 log(String.format(" Maxvalue %f, max Index : %d/%d (%d) minIndex = %d", maxValue, maxIndex, in computeCorrelation() 109 mEstimatedLatencySamples = maxIndex * groupSize; in computeCorrelation()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | OpenTypeTableWriter.java | 52 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/ |
D | AbstractRealVector.java | 327 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/ |
D | ABITestGen.py | 595 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/skqp/src/codec/ |
D | SkIcoCodec.cpp | 172 int maxIndex = 0; in MakeFromStream() local 179 maxIndex = i; in MakeFromStream() 183 auto maxInfo = codecs->operator[](maxIndex)->getEncodedInfo().copy(); in MakeFromStream()
|
/external/skia/src/codec/ |
D | SkIcoCodec.cpp | 172 int maxIndex = 0; in MakeFromStream() local 179 maxIndex = i; in MakeFromStream() 183 auto maxInfo = codecs->operator[](maxIndex)->getEncodedInfo().copy(); in MakeFromStream()
|
/external/icu/icu4c/source/test/letest/ |
D | cletest.c | 701 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()
|
D | letest.cpp | 931 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/guava/guava/src/com/google/common/collect/ |
D | DenseImmutableTable.java | 134 private final int maxIndex = keyToIndex().size(); in createEntrySet() local 138 for (index++; index < maxIndex; index++) { in createEntrySet()
|
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/examples/ |
D | LabelImage.java | 67 int bestLabelIdx = maxIndex(labelProbabilities); in main() 130 private static int maxIndex(float[] probabilities) { in maxIndex() method in LabelImage
|
/external/deqp/modules/gles2/functional/ |
D | es2fNegativeShaderApiTests.cpp | 397 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/mesa3d/src/mesa/program/ |
D | program_parse.y | 2147 const GLint maxIndex = 1 << INST_INDEX_BITS; 2151 assert(index <= maxIndex); 2152 (void) maxIndex; 2187 const GLint maxIndex = (1 << INST_INDEX_BITS) - 1; 2192 assert(index <= maxIndex); 2193 (void) maxIndex;
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleImageTests.cpp | 564 const int maxIndex = 3; // 4 components max in getColorStr() local 572 << (i < maxIndex ? ", " : ""); in getColorStr() 575 for (int i = numComponents; i < maxIndex + 1; ++i) in getColorStr() 577 str << (i == maxIndex ? 1 : 0) in getColorStr() 578 << (i < maxIndex ? ", " : ""); in getColorStr()
|
D | vktPipelineRenderToImageTests.cpp | 779 const int maxIndex = findIndexOfMaxComponent(size); in getReducedImageSize() local 780 const int reducedSize = size[maxIndex] >> 1; in getReducedImageSize() 786 if (maxIndex < 2) in getReducedImageSize() 788 else if (maxIndex == 3 && reducedSize >= NUM_CUBE_FACES) in getReducedImageSize() 795 size[maxIndex] = reducedSize; in getReducedImageSize()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | XMPMetaImpl.java | 1310 int maxIndex = insert ? arrayNode.getChildrenLength() + 1 : arrayNode.getChildrenLength(); 1313 itemIndex = maxIndex; 1316 if (1 <= itemIndex && itemIndex <= maxIndex)
|
/external/deqp/modules/gles31/functional/ |
D | es31fVertexAttributeBindingTests.cpp | 1507 glw::GLint maxIndex = -1; in iterate() local 1510 gl.glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxIndex); in iterate() 1513 largeIndex = maxIndex + 1; in iterate() 1516 if (maxIndex == -1 || maxIndex == 0x7FFFFFFF) in iterate()
|