Home
last modified time | relevance | path

Searched refs:inputIndex (Results 1 – 25 of 29) sorted by relevance

12

/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorBroadcasting.h173 Index inputIndex = 0;
178 inputIndex += idx * m_inputStrides[i];
183 inputIndex += (idx % m_impl.dimensions()[i]) * m_inputStrides[i];
190 inputIndex += index;
195 inputIndex += (index % m_impl.dimensions()[0]);
198 return m_impl.coeff(inputIndex);
203 Index inputIndex = 0;
208 inputIndex += idx * m_inputStrides[i];
213 inputIndex += (idx % m_impl.dimensions()[i]) * m_inputStrides[i];
220 inputIndex += index;
[all …]
DTensorChipping.h212 Index inputIndex = index * m_inputStride + m_inputOffset;
215 values[i] = m_impl.coeff(inputIndex);
216 inputIndex += m_inputStride;
229 Index inputIndex = idx * m_inputStride + m_inputOffset + rem;
230 return m_impl.template packet<LoadMode>(inputIndex);
280 Index inputIndex;
285 inputIndex = index * m_inputStride + m_inputOffset;
290 inputIndex = index + m_inputOffset;
293 inputIndex = idx * m_inputStride + m_inputOffset;
295 inputIndex += index;
[all …]
DTensorPadding.h149 Index inputIndex = 0;
156 inputIndex += (idx - m_padding[i].first) * m_inputStrides[i];
162 inputIndex += (index - m_padding[0].first);
169 inputIndex += (idx - m_padding[i].first) * m_inputStrides[i];
175 inputIndex += (index - m_padding[NumDims-1].first);
177 return m_impl.coeff(inputIndex);
264 Index inputIndex = 0;
283 inputIndex += (idx - m_padding[i].first) * m_inputStrides[i];
308 inputIndex += (index - m_padding[0].first);
309 return m_impl.template packet<Unaligned>(inputIndex);
[all …]
DTensorInflation.h142 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool getInputIndex(Index index, Index* inputIndex) const
145 *inputIndex = 0;
152 *inputIndex += idx / m_strides[i] * m_inputStrides[i];
158 *inputIndex += index / m_strides[0];
166 *inputIndex += idx / m_strides[i] * m_inputStrides[i];
172 *inputIndex += index / m_strides[NumDims - 1];
179 Index inputIndex = 0;
180 if (getInputIndex(index, &inputIndex)) {
181 return m_impl.coeff(inputIndex);
DTensorReverse.h156 Index inputIndex = 0;
164 inputIndex += idx * m_strides[i] ;
167 inputIndex += (m_dimensions[0] - index - 1);
169 inputIndex += index;
178 inputIndex += idx * m_strides[i] ;
181 inputIndex += (m_dimensions[NumDims-1] - index - 1);
183 inputIndex += index;
186 return inputIndex;
DTensorShuffling.h192 Index inputIndex = 0;
196 inputIndex += idx * m_inputStrides[i];
199 return inputIndex + index * m_inputStrides[0];
203 inputIndex += idx * m_inputStrides[i];
206 return inputIndex + index * m_inputStrides[NumDims - 1];
DTensorPatch.h162 Index inputIndex = 0;
169 inputIndex += (patchIdx + offsetIdx) * m_inputStrides[i];
177 inputIndex += (patchIdx + offsetIdx) * m_inputStrides[i];
180 inputIndex += (patchIndex + patchOffset);
181 return m_impl.coeff(inputIndex);
DTensorStriding.h230 Index inputIndex = 0;
234 inputIndex += idx * m_inputStrides[i];
237 inputIndex += index * m_inputStrides[0];
241 inputIndex += idx * m_inputStrides[i];
244 inputIndex += index * m_inputStrides[NumDims-1];
246 return inputIndex;
DTensorMorphing.h500 Index inputIndex = 0;
504 inputIndex += (idx + m_offsets[i]) * m_inputStrides[i];
507 inputIndex += (index + m_offsets[0]);
511 inputIndex += (idx + m_offsets[i]) * m_inputStrides[i];
514 inputIndex += (index + m_offsets[NumDims-1]);
516 return inputIndex;
817 Index inputIndex = 0;
821 inputIndex += idx * m_inputStrides[i] + m_offsets[i];
827 inputIndex += idx * m_inputStrides[i] + m_offsets[i];
831 return inputIndex;
DTensorImagePatch.h358 …const Index inputIndex = depth + origInputRow * m_rowInputStride + origInputCol * m_colInputStride…
359 return m_impl.coeff(inputIndex);
413 …const Index inputIndex = depth + inputRows[0] * m_rowInputStride + inputCols[0] * m_colInputStride…
414 return m_impl.template packet<Unaligned>(inputIndex);
DTensorVolumePatch.h399 const Index inputIndex = depth +
405 return m_impl.coeff(inputIndex);
486 const Index inputIndex = depth +
491 return m_impl.template packet<Unaligned>(inputIndex);
/external/zlib/src/contrib/dotzlib/DotZLib/
DInflater.cs61 int inputIndex = offset; in Add()
64 while (err >= 0 && inputIndex < total) in Add()
66 copyInput(data, inputIndex, Math.Min(total - inputIndex, kBufferSize)); in Add()
75 inputIndex += (int)_ztream.total_in; in Add()
DDeflater.cs61 int inputIndex = offset; in Add()
64 while (err >= 0 && inputIndex < total) in Add()
66 copyInput(data, inputIndex, Math.Min(total - inputIndex, kBufferSize)); in Add()
76 inputIndex += (int)_ztream.total_in; in Add()
/external/skia/src/core/
DSkMD5.cpp44 unsigned int inputIndex; in write() local
49 inputIndex = bufferAvailable; in write()
51 inputIndex = 0; in write()
54 for (; inputIndex + 63 < inputLength; inputIndex += 64) { in write()
55 transform(this->state, &input[inputIndex]); in write()
60 inputIndex = 0; in write()
63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); in write()
/external/skqp/src/core/
DSkMD5.cpp44 unsigned int inputIndex; in write() local
49 inputIndex = bufferAvailable; in write()
51 inputIndex = 0; in write()
54 for (; inputIndex + 63 < inputLength; inputIndex += 64) { in write()
55 transform(this->state, &input[inputIndex]); in write()
60 inputIndex = 0; in write()
63 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); in write()
/external/adhd/scripts/mic_testing/frontend/
Drecorder.js298 inputIndex = 0;
301 result[index++] = inputL[inputIndex];
302 result[index++] = inputR[inputIndex];
303 inputIndex++;
/external/tensorflow/tensorflow/core/kernels/
Deigen_volume_patch.h324 const Index inputIndex = depth + origInputRow * m_rowInputStride + in coeff() local
329 return m_impl.coeff(inputIndex); in coeff()
423 const Index inputIndex = depth + inputRows[0] * m_rowInputStride + in packet() local
427 return m_impl.template packet<Unaligned>(inputIndex); in packet()
538 Index inputIndex; in coeff() local
540 inputIndex = inputCoords[4] * m_otherInputStride + in coeff()
545 inputIndex = inputCoords[0] * m_otherInputStride + in coeff()
550 return m_impl.coeff(inputIndex); in coeff()
Deigen_spatial_convolutions-inl.h308 const Index inputIndex = depth + origInputRow * m_rowInputStride + in loadCoeff() local
310 return m_impl.coeff(inputIndex); in loadCoeff()
332 const Index inputIndex = depth + inputRow * m_rowInputStride + in loadCoeffStandard() local
334 return m_impl.coeff(inputIndex); in loadCoeffStandard()
397 const Index inputIndex = depth + inputRows[0] * m_rowInputStride + in loadPacketStandard() local
399 return m_impl.template packet<Unaligned>(inputIndex); in loadPacketStandard()
431 const Index inputIndex = depth + inputRow * m_rowInputStride + in loadPacketFast() local
433 return m_impl.template packet<Unaligned>(inputIndex); in loadPacketFast()
690 const Index inputIndex = depth + baseIndex; in packetNoPadding() local
691 return m_base_mapper.m_impl.template packet<Unaligned>(inputIndex); in packetNoPadding()
[all …]
Deigen_cuboid_convolution.h390 const Index inputIndex = depth + origInputPlane * m_planeInputStride + in loadCoeff() local
394 return m_impl.coeff(inputIndex); in loadCoeff()
425 const Index inputIndex = depth + inputPlane * m_planeInputStride + in loadCoeffStandard() local
429 return m_impl.coeff(inputIndex); in loadCoeffStandard()
510 const Index inputIndex = in loadPacketStandard() local
514 return m_impl.template packet<Unaligned>(inputIndex); in loadPacketStandard()
557 const Index inputIndex = depth + inputPlane * m_planeInputStride + in loadPacketFast() local
560 return m_impl.template packet<Unaligned>(inputIndex); in loadPacketFast()
875 const Index inputIndex = depth + baseIndex; in packetNoPadding() local
876 return m_base_mapper.m_impl.template packet<Unaligned>(inputIndex); in packetNoPadding()
[all …]
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DInterpreter.java310 public Tensor getInputTensor(int inputIndex) { in getInputTensor() argument
312 return wrapper.getInputTensor(inputIndex); in getInputTensor()
/external/icu/icu4c/source/i18n/
Duspoof.cpp707 int32_t inputIndex = 0; in uspoof_getSkeletonUnicodeString() local
710 for (inputIndex=0; inputIndex < normalizedLen; ) { in uspoof_getSkeletonUnicodeString()
711 UChar32 c = nfdId.char32At(inputIndex); in uspoof_getSkeletonUnicodeString()
712 inputIndex += U16_LENGTH(c); in uspoof_getSkeletonUnicodeString()
/external/swiftshader/src/Pipeline/
DVertexShader.hpp44 SpirvShader::AttribType getAttribType(int inputIndex) const;
/external/swiftshader/src/Shader/
DVertexShader.hpp52 AttribType getAttribType(int inputIndex) const;
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSpoofChecker.java1440 for (int inputIndex = 0; inputIndex < normalizedLen;) { in getSkeleton()
1441 int c = Character.codePointAt(nfdId, inputIndex); in getSkeleton()
1442 inputIndex += Character.charCount(c); in getSkeleton()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSpoofChecker.java1504 for (int inputIndex = 0; inputIndex < normalizedLen;) { in getSkeleton()
1505 int c = Character.codePointAt(nfdId, inputIndex); in getSkeleton()
1506 inputIndex += Character.charCount(c); in getSkeleton()

12