/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
D | TFLiteObjectDetectionAPIModel.java | 56 private int inputSize; field in TFLiteObjectDetectionAPIModel 102 final int inputSize, in create() argument 118 d.inputSize = inputSize; in create() 134 d.imgData = ByteBuffer.allocateDirect(1 * d.inputSize * d.inputSize * 3 * numBytesPerChannel); in create() 136 d.intValues = new int[d.inputSize * d.inputSize]; in create() 159 for (int i = 0; i < inputSize; ++i) { in recognizeImage() 160 for (int j = 0; j < inputSize; ++j) { in recognizeImage() 161 int pixelValue = intValues[i * inputSize + j]; in recognizeImage() 202 outputLocations[0][i][1] * inputSize, in recognizeImage() 203 outputLocations[0][i][0] * inputSize, in recognizeImage() [all …]
|
D | CameraConnectionFragment.java | 220 private final Size inputSize; field in CameraConnectionFragment 234 final Size inputSize) { in CameraConnectionFragment() argument 238 this.inputSize = inputSize; in CameraConnectionFragment() 313 final Size inputSize) { in newInstance() argument 314 return new CameraConnectionFragment(callback, imageListener, layout, inputSize); in newInstance() 379 inputSize.getWidth(), in setUpCameraOutputs() 380 inputSize.getHeight()); in setUpCameraOutputs()
|
D | TFLiteImageClassifier.java | 86 AssetManager assetManager, String modelFilename, String labelFilename, int inputSize) { in create() argument 119 c.intValues = new int[inputSize * inputSize]; in create()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
D | TensorFlowObjectDetectionAPIModel.java | 48 private int inputSize; field in TensorFlowObjectDetectionAPIModel 75 final int inputSize) throws IOException { in create() argument 104 d.inputSize = inputSize; in create() 123 d.intValues = new int[d.inputSize * d.inputSize]; in create() 124 d.byteValues = new byte[d.inputSize * d.inputSize * 3]; in create() 153 inferenceInterface.feed(inputName, byteValues, 1, inputSize, inputSize, 3); in recognizeImage() 189 outputLocations[4 * i + 1] * inputSize, in recognizeImage() 190 outputLocations[4 * i] * inputSize, in recognizeImage() 191 outputLocations[4 * i + 3] * inputSize, in recognizeImage() 192 outputLocations[4 * i + 2] * inputSize); in recognizeImage()
|
D | TensorFlowImageClassifier.java | 44 private int inputSize; field in TensorFlowImageClassifier 78 int inputSize, in create() argument 113 c.inputSize = inputSize; in create() 119 c.intValues = new int[inputSize * inputSize]; in create() 120 c.floatValues = new float[inputSize * inputSize * 3]; in create() 145 inferenceInterface.feed(inputName, floatValues, 1, inputSize, inputSize, 3); in recognizeImage()
|
D | TensorFlowMultiBoxDetector.java | 49 private int inputSize; field in TensorFlowMultiBoxDetector 103 d.inputSize = (int) inputOp.output(0).shape().size(1); in create() 124 d.intValues = new int[d.inputSize * d.inputSize]; in create() 125 d.floatValues = new float[d.inputSize * d.inputSize * 3]; in create() 221 inferenceInterface.feed(inputName, floatValues, 1, inputSize, inputSize, 3); in recognizeImage() 256 outputLocations[4 * i] * inputSize, in recognizeImage() 257 outputLocations[4 * i + 1] * inputSize, in recognizeImage() 258 outputLocations[4 * i + 2] * inputSize, in recognizeImage() 259 outputLocations[4 * i + 3] * inputSize); in recognizeImage()
|
D | TensorFlowYoloDetector.java | 76 private int inputSize; field in TensorFlowYoloDetector 93 final int inputSize, in create() argument 99 d.inputSize = inputSize; in create() 103 d.intValues = new int[inputSize * inputSize]; in create() 104 d.floatValues = new float[inputSize * inputSize * 3]; in create() 154 inferenceInterface.feed(inputName, floatValues, 1, inputSize, inputSize, 3); in recognizeImage()
|
D | CameraConnectionFragment.java | 220 private final Size inputSize; field in CameraConnectionFragment 234 final Size inputSize) { in CameraConnectionFragment() argument 238 this.inputSize = inputSize; in CameraConnectionFragment() 313 final Size inputSize) { in newInstance() argument 314 return new CameraConnectionFragment(callback, imageListener, layout, inputSize); in newInstance() 385 inputSize.getWidth(), in setUpCameraOutputs() 386 inputSize.getHeight()); in setUpCameraOutputs()
|
/external/lz4/lib/ |
D | lz4hc.h | 202 …tead") LZ4LIB_API int LZ4_compressHC (const char* source, char* dest, int inputSize); 203 …I int LZ4_compressHC_limitedOutput (const char* source, char* dest, int inputSize, int maxOutputSi… 204 …d") LZ4LIB_API int LZ4_compressHC2 (const char* source, char* dest, int inputSize, int compression… 205 … int LZ4_compressHC2_limitedOutput (const char* source, char* dest, int inputSize, int maxOutputSi… 206 …_compressHC_withStateHC (void* state, const char* source, char* dest, int inputSize); 207 …tedOutput_withStateHC (void* state, const char* source, char* dest, int inputSize, int maxOutputSi… 208 …mpressHC2_withStateHC (void* state, const char* source, char* dest, int inputSize, int compression… 209 …itedOutput_withStateHC(void* state, const char* source, char* dest, int inputSize, int maxOutputSi… 210 …nue (LZ4_streamHC_t* LZ4_streamHCPtr, const char* source, char* dest, int inputSize); 211 …e (LZ4_streamHC_t* LZ4_streamHCPtr, const char* source, char* dest, int inputSize, int maxOutputSi… [all …]
|
D | lz4.c | 504 …Z4_compress_forceExtDict (LZ4_stream_t* LZ4_stream, const char* source, char* dest, int inputSize); 610 const int inputSize, in LZ4_prepareTable() argument 618 || (tableType == byU16 && cctx->currentOffset + inputSize >= 0xFFFFU) in LZ4_prepareTable() 621 || inputSize >= 4 KB) in LZ4_prepareTable() 653 const int inputSize, in LZ4_compress_generic() argument 679 const BYTE* const iend = ip + inputSize; in LZ4_compress_generic() 695 DEBUGLOG(5, "LZ4_compress_generic: srcSize=%i, tableType=%u", inputSize, tableType); in LZ4_compress_generic() 698 …if ((U32)inputSize > (U32)LZ4_MAX_INPUT_SIZE) return 0; /* Unsupported inputSize, too large (or … in LZ4_compress_generic() 699 …if ((tableType == byU16) && (inputSize>=LZ4_64Klimit)) return 0; /* Size too large (not within 64… in LZ4_compress_generic() 710 cctx->dictSize = (U32)inputSize; in LZ4_compress_generic() [all …]
|
D | lz4.h | 168 LZ4LIB_API int LZ4_compressBound(int inputSize); 599 … LZ4_compress_withState (void* state, const char* source, char* dest, int inputSize); 600 …mitedOutput_withState (void* state, const char* source, char* dest, int inputSize, int maxOutputSi… 601 …ntinue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize); 602 …inue (LZ4_stream_t* LZ4_streamPtr, const char* source, char* dest, int inputSize, int maxOutputSi…
|
/external/xz-java/src/org/tukaani/xz/ |
D | LZMAOutputStream.java | 128 long inputSize) in LZMAOutputStream() argument 130 this(out, options, inputSize, ArrayCache.getDefaultCache()); in LZMAOutputStream() 156 long inputSize, ArrayCache arrayCache) in LZMAOutputStream() argument 158 this(out, options, true, inputSize == -1, inputSize, arrayCache); in LZMAOutputStream()
|
/external/skia/src/gpu/effects/ |
D | GrSkSLFP.h | 76 size_t inputSize); 84 size_t inputSize); 95 size_t inputSize); 158 size_t inputSize);
|
D | GrSkSLFP.cpp | 48 size_t inputSize) { in getSpecialization() argument 248 size_t inputSize) { in Make() argument 252 inputSize)); in Make() 256 SkString sksl, const void* inputs, size_t inputSize) { in Make() argument 260 inputSize)); in Make() 265 const void* inputs, size_t inputSize) in GrSkSLFP() argument 273 , fInputs(new int8_t[inputSize]) in GrSkSLFP() 274 , fInputSize(inputSize) { in GrSkSLFP() 275 memcpy(fInputs.get(), inputs, inputSize); in GrSkSLFP()
|
/external/xz-java/src/ |
D | LZMAEncDemo.java | 30 long inputSize = -1; in main() local 36 inputSize = Long.parseLong(args[1]); in main() 47 inputSize); in main()
|
/external/skqp/src/gpu/effects/ |
D | GrSkSLFP.h | 76 size_t inputSize); 86 const char* name, const char* sksl, const void* inputs, size_t inputSize); 141 size_t inputSize);
|
D | GrSkSLFP.cpp | 46 size_t inputSize) { in getSpecialization() argument 236 size_t inputSize) { in Make() argument 239 index, name, sksl, inputs, inputSize)); in Make() 244 size_t inputSize) in GrSkSLFP() argument 251 , fInputs(new int8_t[inputSize]) in GrSkSLFP() 252 , fInputSize(inputSize) { in GrSkSLFP() 253 memcpy(fInputs.get(), inputs, inputSize); in GrSkSLFP()
|
/external/u-boot/lib/ |
D | lz4.c | 70 int inputSize, in LZ4_decompress_generic() argument 84 const BYTE* const iend = ip + inputSize; in LZ4_decompress_generic() 102 …if ((endOnInput) && (unlikely(outputSize==0))) return ((inputSize==1) && (*ip==0)) ? 0 : -1; /* E… in LZ4_decompress_generic()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableSetTest.java | 196 private void verifyTableSize(int inputSize, int setSize, int tableSize) { in verifyTableSize() argument 198 for (int i = 0; i < inputSize; i++) { in verifyTableSize() 203 assertEquals("Input size " + inputSize + " and set size " + setSize, in verifyTableSize()
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderTestUtil.hpp | 97 size_t inputSize = m_numInputElements * sizeof(deInt32); in getBytes() local 99 bytes.resize(inputSize); in getBytes() 100 deMemcpy(&bytes.front(), &inputInts.front(), inputSize); in getBytes()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorReductionSycl.h | 113 size_t inputSize =self.impl().dimensions().TotalSize(); 114 …size_t rng = inputSize/red_factor; // the total number of thread initially is half the size of the… 115 size_t remaining = inputSize% red_factor;
|
/external/icu/icu4c/source/common/ |
D | ubrk.cpp | 162 int32_t inputSize = *pBufferSize; in ubrk_safeClone() local 164 if (inputSize == 0) { in ubrk_safeClone()
|
/external/deqp/modules/internal/ |
D | ditTextureFormatTests.cpp | 1119 const int inputSize; member 1194 const int numPixels = s_formatData[format.type].inputSize / inputPixelSize; in getInputAccess() 1197 DE_ASSERT(numPixels*inputPixelSize == s_formatData[format.type].inputSize); in getInputAccess()
|
/external/icu/icu4c/source/i18n/ |
D | ucol.cpp | 89 int32_t inputSize = *pBufferSize; in ucol_safeClone() local 91 if (inputSize == 0) { in ucol_safeClone()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineVertexInputTests.cpp | 516 const deUint32 inputSize = getVertexFormatSize(attributeInfo.vkType); in createInstance() local 518 attributeMaxSizes[attributeBinding] = de::max(attributeMaxSizes[attributeBinding], inputSize); in createInstance() 526 const deUint32 inputSize = getVertexFormatSize(attributeInfo.vkType); in createInstance() local 558 bindingDescriptions[attributeBinding].stride += offsetToComponentAlignment + inputSize; in createInstance() 559 attributeOffsets[attributeBinding] += inputSize; in createInstance()
|