Searched refs:padValue (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | BitmapTest.java | 282 final byte padValue = 0x5a; in testCopyWithDirectByteBuffer() 288 directBuffer.put(0, padValue); in testCopyWithDirectByteBuffer() 289 directBuffer.put(directBuffer.limit() - 1, padValue); in testCopyWithDirectByteBuffer() local 298 assertEquals(directBuffer.get(0), padValue); in testCopyWithDirectByteBuffer() 299 assertEquals(directBuffer.get(directBuffer.limit() - 1), padValue); in testCopyWithDirectByteBuffer() local 320 final short padValue = 0x55aa; in testCopyWithDirectShortBuffer() local 327 directBuffer.put(0, padValue); in testCopyWithDirectShortBuffer() 328 directBuffer.put(directBuffer.limit() - 1, padValue); in testCopyWithDirectShortBuffer() local 337 assertEquals(directBuffer.get(0), padValue); in testCopyWithDirectShortBuffer() 338 assertEquals(directBuffer.get(directBuffer.limit() - 1), padValue); in testCopyWithDirectShortBuffer() local [all …]
|
/frameworks/ml/nn/common/operations/ |
D | Reshape.cpp | 85 bool padGeneric(const T* inputData, const Shape& inputShape, const int32_t* paddings, T padValue, in padGeneric() argument 127 outputData, padValue, leftBPadding * outputHeight * outputWidth * outputDepth); in padGeneric() 132 outputData + tflite::Offset(extOutputShape, outB, 0, 0, 0), padValue, in padGeneric() 138 outputData + tflite::Offset(extOutputShape, outB, outH, 0, 0), padValue, in padGeneric() 145 padValue, leftDPadding); in padGeneric() 159 padValue, rightDPadding); in padGeneric() 166 padValue, rightWPadding * outputDepth); in padGeneric() 173 padValue, rightHPadding * outputWidth * outputDepth); in padGeneric() 179 padValue, rightBPadding * outputHeight * outputWidth * outputDepth); in padGeneric() 185 const int32_t* paddings, float padValue, float* outputData, [all …]
|
/frameworks/ml/nn/runtime/test/ |
D | TestValidateOperations.cpp | 1772 ANeuralNetworksOperandType padValue = getOpType(ANEURALNETWORKS_FLOAT32); in padV2OpTest() local 1774 padValue = getOpType(ANEURALNETWORKS_FLOAT16); in padV2OpTest() 1777 padValue = getOpType(ANEURALNETWORKS_INT32); in padV2OpTest() 1781 OperationTestBase test(ANEURALNETWORKS_PAD_V2, {input, padSize, padValue}, {output}, in padV2OpTest()
|