HomeSort by relevance Sort by last modified time
    Searched refs:inputData (Results 1 - 25 of 110) sorted by null

1 2 3 4 5

  /cts/suite/audio_quality/test_description/processing/
example.py 25 # inputData : list of inputs with different types like int64, double,
40 def example(inputData, inputTypes):
44 stereoInt = (inputData[0].astype(int) + inputData[1].astype(int))/2
46 #print len(inputData[0]), len(inputData[1]), len(stereoInt), len(stereo)
47 monoInt = (inputData[2].astype(int) + inputData[3].astype(int))/2
49 #print len(inputData[2]), len(inputData[3]), len(monoInt), len(mono
    [all...]
playback_sample.py 25 def playback_sample(inputData, inputTypes):
43 hostRecording = inputData[0]
44 signalFrequency = inputData[1]
45 threshold = inputData[2]
recording_thd.py 36 def recording_thd(inputData, inputTypes):
56 hostRecording = inputData[0]
57 deviceRecording = inputData[1]
58 signalFrequency = inputData[2]
59 thdPassPercentile = inputData[3]
playback_thd.py 29 def playback_thd(inputData, inputTypes):
47 hostRecording = inputData[0]
48 signalFrequency = inputData[1]
49 thdPassPercentile = inputData[2]
gen_random.py 62 def gen_random(inputData, inputTypes):
82 result = do_gen_random(inputData[0], inputData[1], inputData[2], inputData[3])
check_spectrum_playback.py 69 def check_spectrum_playback(inputData, inputTypes):
92 hostData = inputData[0]
93 samplingRate = inputData[1]
94 fLow = inputData[2]
95 fHigh = inputData[3]
96 margainLow = inputData[4]
97 margainHigh = inputData[5]
check_spectrum.py 81 def check_spectrum(inputData, inputTypes):
107 hostData = inputData[0]
110 dutData = inputData[1]
113 samplingRate = inputData[2]
114 fLow = inputData[3]
115 fHigh = inputData[4]
116 margainLow = inputData[5]
117 margainHigh = inputData[6]
  /external/libopus/silk/float/
autocorrelation_FLP.c 38 const silk_float *inputData, /* I input data to correlate */
50 results[ i ] = (silk_float)silk_inner_product_FLP( inputData, inputData + i, inputDataSize - i );
  /frameworks/ml/nn/common/operations/
Normalization.cpp 25 bool l2normFloat32(const float* inputData, const Shape& inputShape,
28 inputData, convertShapeToDims(inputShape),
34 bool l2normQuant8(const uint8_t* inputData, const Shape& inputShape,
37 inputData, convertShapeToDims(inputShape),
44 bool localResponseNormFloat32(const float* inputData, const Shape& inputShape,
48 inputData, convertShapeToDims(inputShape),
Reshape.cpp 29 bool reshapeGeneric(const void* inputData, const Shape& inputShape,
32 memcpy(outputData, inputData, count);
36 bool resizeBilinearFloat32(const float* inputData, const Shape& inputShape,
47 inputData, convertShapeToDims(inputShape),
53 bool depthToSpaceGeneric(const uint8_t* inputData, const Shape& inputShape,
58 reinterpret_cast<const float*>(inputData),
65 reinterpret_cast<const uint8_t*>(inputData),
77 bool spaceToDepthGeneric(const uint8_t* inputData, const Shape& inputShape,
82 reinterpret_cast<const float*>(inputData),
89 reinterpret_cast<const uint8_t*>(inputData),
    [all...]
Activation.cpp 25 bool reluFloat32(const float* inputData, const Shape& inputShape,
28 for (int i=0; i<numElements; i++, inputData++, outputData++) {
29 *outputData = std::max(0.f, *inputData);
34 bool relu1Float32(const float* inputData, const Shape& inputShape,
37 for (int i=0; i<numElements; i++, inputData++, outputData++) {
38 *outputData = std::min(std::max(-1.f, *inputData), 1.f);
43 bool relu6Float32(const float* inputData, const Shape& inputShape,
46 for (int i=0; i<numElements; i++, inputData++, outputData++) {
47 *outputData = std::min(std::max(0.f, *inputData), 6.f);
52 bool tanhFloat32(const float* inputData, const Shape& inputShape
    [all...]
Pooling.cpp 34 bool averagePoolFloat32(const float* inputData, const Shape& inputShape,
45 inputData, convertShapeToDims(inputShape), \
56 bool averagePoolQuant8(const uint8_t* inputData, const Shape& inputShape,
74 inputData, convertShapeToDims(inputShape), \
86 bool l2PoolFloat32(const float* inputData, const Shape& inputShape,
97 inputData, convertShapeToDims(inputShape), \
108 bool maxPoolFloat32(const float* inputData, const Shape& inputShape,
119 inputData, convertShapeToDims(inputShape), \
130 bool maxPoolQuant8(const uint8_t* inputData, const Shape& inputShape,
148 inputData, convertShapeToDims(inputShape),
    [all...]
FullyConnected.cpp 25 bool fullyConnectedFloat32(const float* inputData, const Shape& inputShape,
33 inputData, convertShapeToDims(inputShape), \
43 bool fullyConnectedQuant8(const uint8_t* inputData, const Shape& inputShape,
74 inputData, convertShapeToDims(inputShape), inputOffset, \
DepthwiseConv2D.cpp 37 bool depthwiseConvFloat32(const float* inputData, const Shape& inputShape,
50 inputData, convertShapeToDims(inputShape), \
64 bool depthwiseConvQuant8(const uint8_t* inputData, const Shape& inputShape,
97 inputData, convertShapeToDims(inputShape), inputOffset, \
Conv2D.cpp 63 bool convFloat32(const float* inputData, const Shape& inputShape,
76 inputData, convertShapeToDims(inputShape), \
92 bool convQuant8(const uint8_t* inputData, const Shape& inputShape,
129 inputData, convertShapeToDims(inputShape), inputOffset, \
  /external/libopus/silk/fixed/
autocorr_FIX.c 39 const opus_int16 *inputData, /* I Input data to correlate */
47 *scale = _celt_autocorr(inputData, results, NULL, 0, corrCount-1, inputDataSize, arch);
  /frameworks/ml/nn/common/include/
Operations.h 55 bool floorFloat32(const float* inputData,
59 bool dequantizeQuant8ToFloat32(const uint8_t* inputData,
63 bool depthwiseConvFloat32(const float* inputData, const Shape& inputShape,
71 bool depthwiseConvQuant8(const uint8_t* inputData, const Shape& inputShape,
80 bool convFloat32(const float* inputData, const Shape& inputShape,
88 bool convQuant8(const uint8_t* inputData, const Shape& inputShape,
97 bool averagePoolFloat32(const float* inputData, const Shape& inputShape,
103 bool averagePoolQuant8(const uint8_t* inputData, const Shape& inputShape,
109 bool l2PoolFloat32(const float* inputData, const Shape& inputShape,
115 bool maxPoolFloat32(const float* inputData, const Shape& inputShape
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/device/
MockTestDeviceHelper.java 46 byte[] inputData = response.getBytes();
47 receiver.addOutput(inputData, 0, inputData.length);
91 byte[] inputData = response.getBytes();
92 receiver.addOutput(inputData, 0, inputData.length);
  /frameworks/base/core/java/com/android/internal/ml/clustering/
KMeans.java 60 * @param inputData Input data.
63 public List<Mean> predict(final int k, final float[][] inputData) {
64 checkDataSetSanity(inputData);
65 int dimension = inputData[0].length;
79 converged = step(means, inputData);
115 public void checkDataSetSanity(float[][] inputData) {
116 if (inputData == null) {
118 } else if (inputData.length == 0) {
120 } else if (inputData[0] == null) {
124 final int dimension = inputData[0].length
    [all...]
  /cts/suite/audio_quality/test_description/
processing_main.py 39 def echo(inputData, inputTypes):
41 print "echo received ", inputData
43 output.append(inputData)
47 def intsum(inputData, inputTypes):
50 sum = inputData[0] + inputData[1]
83 inputData = []
90 inputData.append(data)
98 inputData.append(i64)
102 inputData.append(val
    [all...]
  /external/protobuf/benchmarks/
ProtoBench.java 90 final byte[] inputData = readAllBytes(file);
91 final ByteArrayInputStream inputStream = new ByteArrayInputStream(inputData);
92 final ByteString inputString = ByteString.copyFrom(inputData);
104 benchmark("Serialize to byte string", inputData.length, new Action() {
107 benchmark("Serialize to byte array", inputData.length, new Action() {
110 benchmark("Serialize to memory stream", inputData.length, new Action() {
116 benchmark("Serialize to /dev/null with FileOutputStream", inputData.length, new Action() {
121 benchmark("Serialize to /dev/null reusing FileOutputStream", inputData.length, new Action() {
128 benchmark("Deserialize from byte string", inputData.length, new Action() {
133 benchmark("Deserialize from byte array", inputData.length, new Action()
    [all...]
  /frameworks/av/media/libaaudio/examples/loopback/src/
LoopbackAnalyzer.h 242 int write(int16_t *inputData, int inputChannelCount, int numFrames) {
248 mData[mFrameCounter++] = inputData[i * inputChannelCount] * (1.0f / 32768);
254 int write(float *inputData, int inputChannelCount, int numFrames) {
260 mData[mFrameCounter++] = inputData[i * inputChannelCount];
314 virtual void process(float *inputData, int inputChannelCount,
336 static float measurePeakAmplitude(float *inputData, int inputChannelCount, int numFrames) {
339 float pos = fabs(*inputData);
343 inputData += inputChannelCount;
466 void process(float *inputData, int inputChannelCount,
492 peak = measurePeakAmplitude(inputData, inputChannelCount, numFrames)
    [all...]
  /external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
ValidationTest.java 45 public ValidationTestUtil.Data inputData;
95 testData.inputData = ValidationTestUtil.parseData(getStringContent(dataFile));
111 + ": " + test.inputData.getErrorMessage(),
112 test.inputData.getErrorMessage());
114 for (int i = 0; i < test.inputData.getHandlesCount(); ++i) {
117 Message message = new Message(test.inputData.getData(), handles);
  /hardware/interfaces/neuralnetworks/1.0/vts/functional/
Models.cpp 143 std::vector<float> inputData = {1.0f, 2.0f, 3.0f, 4.0f};
149 uint32_t inputSize = static_cast<uint32_t>(inputData.size() * sizeof(float));
176 std::copy(inputData.begin(), inputData.end(), inputPtr);
188 std::vector<float> inputData = {1.0f, 2.0f, 3.0f, 4.0f};
189 uint32_t inputSize = static_cast<uint32_t>(inputData.size() * sizeof(float));
  /frameworks/av/drm/libdrmframework/plugins/passthru/src/
DrmPassthruPlugIn.cpp 219 int uniqueId, int /*convertId*/, const DrmBuffer* inputData) {
223 if (NULL != inputData && 0 < inputData->length) {
224 int length = inputData->length;
228 memcpy(convertedData->data, inputData->data, length);

Completed in 601 milliseconds

1 2 3 4 5