Home
last modified time | relevance | path

Searched refs:inputIndex (Results 1 – 25 of 37) 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);
/external/oboe/samples/RhythmGame/src/main/cpp/audio/
DNDKExtractor.cpp106 ssize_t inputIndex = AMediaCodec_dequeueInputBuffer(codec, 2000); in decode() local
110 if (inputIndex < 0){ in decode()
111 if (inputIndex == AMEDIACODEC_INFO_TRY_AGAIN_LATER){ in decode()
120 uint8_t *inputBuffer = AMediaCodec_getInputBuffer(codec, inputIndex, &inputSize); in decode()
129 AMediaCodec_queueInputBuffer(codec, inputIndex, 0, sampleSize, in decode()
139 AMediaCodec_queueInputBuffer(codec, inputIndex, 0, 0, in decode()
/external/rust/crates/libz-sys/src/zlib/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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DMediaCodecRenderer.java399 private int inputIndex;
1133 private ByteBuffer getInputBuffer(int inputIndex) { in getInputBuffer() argument
1135 return codec.getInputBuffer(inputIndex); in getInputBuffer()
1137 return inputBuffers[inputIndex]; in getInputBuffer()
1154 inputIndex = C.INDEX_UNSET; in resetInputBuffer()
1182 if (inputIndex < 0) { in feedInputBuffer()
1183 inputIndex = codecAdapter.dequeueInputBufferIndex(); in feedInputBuffer()
1184 if (inputIndex < 0) { in feedInputBuffer()
1187 buffer.data = getInputBuffer(inputIndex); in feedInputBuffer()
1198 codecAdapter.queueInputBuffer(inputIndex, 0, 0, 0, MediaCodec.BUFFER_FLAG_END_OF_STREAM); in feedInputBuffer()
[all …]
/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.h314 const Index inputIndex = depth + origInputRow * m_rowInputStride + in loadCoeff() local
316 return m_impl.coeff(inputIndex); in loadCoeff()
338 const Index inputIndex = depth + inputRow * m_rowInputStride + in loadCoeffStandard() local
340 return m_impl.coeff(inputIndex); in loadCoeffStandard()
386 const Index inputIndex = depth + inputRows[0] * m_rowInputStride + in loadPartialPacketStandard() local
389 inputIndex - span[0], mask<Packet>(span[0], span[1] + 1)); in loadPartialPacketStandard()
469 const Index inputIndex = depth + inputRows[0] * m_rowInputStride + in loadPacketStandardFromSingleColumn() local
471 return m_impl.template packet<Unaligned>(inputIndex); in loadPacketStandardFromSingleColumn()
595 const Index inputIndex = depth + inputRow * m_rowInputStride + in loadPacketFast() local
597 return m_impl.template packet<Unaligned>(inputIndex); in loadPacketFast()
[all …]
Deigen_cuboid_convolution.h392 const Index inputIndex = depth + origInputPlane * m_planeInputStride + in loadCoeff() local
396 return m_impl.coeff(inputIndex); in loadCoeff()
427 const Index inputIndex = depth + inputPlane * m_planeInputStride + in loadCoeffStandard() local
431 return m_impl.coeff(inputIndex); in loadCoeffStandard()
484 const Index inputIndex = depth + inputPlanes[0] * m_planeInputStride + in loadPartialPacketStandard() local
488 inputIndex - span[0], mask<Packet>(span[0], span[1] + 1)); in loadPartialPacketStandard()
575 const Index inputIndex = depth + inputPlanes[0] * m_planeInputStride + in loadPacketStandardFromSingleColumnSingleRow() local
578 return m_impl.template packet<Unaligned>(inputIndex); in loadPacketStandardFromSingleColumnSingleRow()
750 const Index inputIndex = depth + inputPlane * m_planeInputStride + in loadPacketFast() local
753 return m_impl.template packet<Unaligned>(inputIndex); in loadPacketFast()
[all …]
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/model/
DModel.java227 public Tensor getInputTensor(int inputIndex) { in getInputTensor() argument
228 return interpreter.getInputTensor(inputIndex); in getInputTensor()
/external/icu/icu4c/source/i18n/
Duspoof.cpp714 int32_t inputIndex = 0; in uspoof_getSkeletonUnicodeString() local
717 for (inputIndex=0; inputIndex < normalizedLen; ) { in uspoof_getSkeletonUnicodeString()
718 UChar32 c = nfdId.char32At(inputIndex); in uspoof_getSkeletonUnicodeString()
719 inputIndex += U16_LENGTH(c); in uspoof_getSkeletonUnicodeString()
/external/swiftshader/src/Shader/
DVertexShader.hpp52 AttribType getAttribType(int inputIndex) const;
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DInterpreter.java498 public Tensor getInputTensor(int inputIndex) { in getInputTensor() argument
500 return wrapper.getInputTensor(inputIndex); in getInputTensor()
/external/angle/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp156 unsigned int inputIndex = 0; in generateVertexShaderForInputLayout() local
184 ASSERT(inputIndex < MAX_VERTEX_ATTRIBS); in generateVertexShaderForInputLayout()
186 inputIndex < inputLayout.size() ? inputLayout[inputIndex] : angle::FormatID::NONE; in generateVertexShaderForInputLayout()
256 inputIndex += VariableRowCount(TransposeMatrixType(shaderAttribute.type)); in generateVertexShaderForInputLayout()

12