Home
last modified time | relevance | path

Searched refs:floatArr (Results 1 – 5 of 5) sorted by relevance

/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/
DImageConversions.java129 float[] floatArr = new float[w * h * 3]; in convertBitmapToTensorBuffer() local
131 floatArr[j++] = (float) ((intValues[i] >> 16) & 0xff); in convertBitmapToTensorBuffer()
132 floatArr[j++] = (float) ((intValues[i] >> 8) & 0xff); in convertBitmapToTensorBuffer()
133 floatArr[j++] = (float) (intValues[i] & 0xff); in convertBitmapToTensorBuffer()
135 buffer.loadArray(floatArr, shape); in convertBitmapToTensorBuffer()
/external/oboe/apps/fxlab/app/src/main/cpp/tests/
DTypeTests.h42 float floatArr[4] = {1,2,3, 4}; in TEST() local
44 k(floatArr + i, floatArr + i + 1); in TEST()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/tensorbuffer/
DTensorBufferFloat.java66 float[] floatArr = new float[flatSize]; in getIntArray() local
67 buffer.asFloatBuffer().get(floatArr); in getIntArray()
71 intArr[i] = (int) floatArr[i]; in getIntArray()
DTensorBufferUint8.java52 float[] floatArr = new float[flatSize]; in getFloatArray() local
54 floatArr[i] = (float) (byteArr[i] & 0xff); in getFloatArray()
56 return floatArr; in getFloatArray()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
DPrimitiveArrayTest.java169 FloatArr floatArr = new FloatArr(floats); in testCycle() local
170 Assert.assertArrayEquals(floatArr.getFloats(), ((FloatArr) cycle(floatArr)).getFloats(), in testCycle()