Searched refs:floatArr (Results 1 – 5 of 5) sorted by relevance
129 float[] floatArr = new float[w * h * 3]; in convertBitmapToTensorBuffer() local131 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()
42 float floatArr[4] = {1,2,3, 4}; in TEST() local44 k(floatArr + i, floatArr + i + 1); in TEST()
66 float[] floatArr = new float[flatSize]; in getIntArray() local67 buffer.asFloatBuffer().get(floatArr); in getIntArray()71 intArr[i] = (int) floatArr[i]; in getIntArray()
52 float[] floatArr = new float[flatSize]; in getFloatArray() local54 floatArr[i] = (float) (byteArr[i] & 0xff); in getFloatArray()56 return floatArr; in getFloatArray()
169 FloatArr floatArr = new FloatArr(floats); in testCycle() local170 Assert.assertArrayEquals(floatArr.getFloats(), ((FloatArr) cycle(floatArr)).getFloats(), in testCycle()