Home
last modified time | relevance | path

Searched refs:bias (Results 1 – 19 of 19) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Ddata_builder.h253 void inv_get_compass_bias(long *bias);
255 void inv_set_compass_bias(const long *bias, int accuracy);
257 void inv_set_gyro_bias(const long *bias);
258 void inv_set_mpl_gyro_bias(const long *bias, int accuracy);
259 void inv_set_accel_bias(const long *bias);
260 void inv_set_mpl_accel_bias(const long *bias, int accuracy);
262 void inv_set_accel_bias_mask(const long *bias, int accuracy, int mask);
278 void inv_get_mpl_gyro_bias(long *bias, long *temp);
279 void inv_get_gyro_bias(long *bias);
280 void inv_get_gyro_bias_dmp_units(long *bias);
[all …]
Ddata_builder.c57 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias);
691 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias) in inv_apply_calibration() argument
702 raw32[0] -= bias[0] >> 1; in inv_apply_calibration()
703 raw32[1] -= bias[1] >> 1; in inv_apply_calibration()
704 raw32[2] -= bias[2] >> 1; in inv_apply_calibration()
715 void inv_get_compass_bias(long *bias) in inv_get_compass_bias() argument
717 if (bias != NULL) { in inv_get_compass_bias()
718 … memcpy(bias, inv_data_builder.save.compass_bias, sizeof(inv_data_builder.save.compass_bias)); in inv_get_compass_bias()
726 void inv_set_compass_bias(const long *bias, int accuracy) in inv_set_compass_bias() argument
728 …if (memcmp(inv_data_builder.save.compass_bias, bias, sizeof(inv_data_builder.save.compass_bias))) { in inv_set_compass_bias()
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.h250 void inv_get_compass_bias(long *bias);
252 void inv_set_compass_bias(const long *bias, int accuracy);
254 void inv_set_gyro_bias(const long *bias);
255 void inv_set_mpl_gyro_bias(const long *bias, int accuracy);
256 void inv_set_accel_bias(const long *bias);
257 void inv_set_mpl_accel_bias(const long *bias, int accuracy);
259 void inv_set_accel_bias_mask(const long *bias, int accuracy, int mask);
275 void inv_get_mpl_gyro_bias(long *bias, long *temp);
276 void inv_get_gyro_bias(long *bias);
277 void inv_get_gyro_bias_dmp_units(long *bias);
[all …]
Ddata_builder.c56 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias);
486 void inv_apply_calibration(struct inv_single_sensor_t *sensor, const long *bias) in inv_apply_calibration() argument
497 raw32[0] -= bias[0] >> 1; in inv_apply_calibration()
498 raw32[1] -= bias[1] >> 1; in inv_apply_calibration()
499 raw32[2] -= bias[2] >> 1; in inv_apply_calibration()
510 void inv_get_compass_bias(long *bias) in inv_get_compass_bias() argument
512 if (bias != NULL) { in inv_get_compass_bias()
513 … memcpy(bias, inv_data_builder.save.compass_bias, sizeof(inv_data_builder.save.compass_bias)); in inv_get_compass_bias()
521 void inv_set_compass_bias(const long *bias, int accuracy) in inv_set_compass_bias() argument
523 …if (memcmp(inv_data_builder.save.compass_bias, bias, sizeof(inv_data_builder.save.compass_bias))) { in inv_set_compass_bias()
[all …]
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal240 * ) + bias[channel]
244 * * * {@link OperandType::TENSOR_FLOAT32} for input, filter, output, and bias.
248 * * * {@link OperandType::TENSOR_INT32} for bias (with scale set to
262 * * 2: A 1-D tensor, of shape [depth_out], specifying the bias. For input
264 * the bias must be of the same type.
266 * the bias should be of {@link OperandType::TENSOR_INT32}, with zeroPoint
290 * * 2: A 1-D tensor, of shape [depth_out], specifying the bias. For input
292 * the bias must be of the same
295 * the bias should be of {@link OperandType::TENSOR_INT32}, with zeroPoint
336 * ) + bias[k * channel_multiplier + q]
[all …]
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonOperationsPrepare.cpp131 const hexagon_nn_input& bias = model->getTensor(ins[2]); in conv_2d() local
165 return model->addFusedFloatOperation(OP_Conv2d_f, pad, bias, act, {input, filter, stride}, in conv_2d()
177 const hexagon_nn_input& bias = model->getTensor(ins[2]); in depthwise_conv_2d() local
217 return model->addFusedFloatOperation(OP_DepthwiseConv2d_f, pad, bias, act, in depthwise_conv_2d()
229 const hexagon_nn_input& bias = model->getTensor(ins[2]); in fully_connected() local
234 return model->addFusedFloatOperation(OP_MatMul_f, NN_PAD_NA, bias, act, {input, weights}, outs); in fully_connected()
297 const hexagon_nn_input& bias = model->getTensor(ins[2]); in local_response_normalization() local
306 return model->addBasicOperation(OP_LRN_f, NN_PAD_NA, {input, window, bias, alpha, beta}, outs); in local_response_normalization()
590 const hexagon_nn_input& bias = model->getTensor(ins[2]); in conv_2d() local
632 OP_QuantizedConv2d_8x8to32, pad, {bias, bias_min, bias_max}, act, in conv_2d()
[all …]
DHexagonModel.cpp391 const hexagon_nn_input& bias, op_type activation, in addFusedFloatOperation() argument
402 if (bias != hexagon_nn_input{}) { in addFusedFloatOperation()
404 node = addOperationInternal(OP_BiasAdd_f, NN_PAD_NA, {buffer1_in, bias}, outs); in addFusedFloatOperation()
419 const std::vector<hexagon_nn_input>& bias, op_type activation, in addFusedQuant8Operation() argument
445 if (bias.size() == 3) { in addFusedQuant8Operation()
448 {previous, bias[0], previous_min, previous_max, bias[1], bias[2]}, out32); in addFusedQuant8Operation()
DHexagonModel.h125 const hexagon_nn_input& bias, op_type activation,
129 const std::vector<hexagon_nn_input>& bias, op_type activation,
/hardware/invensense/6515/libsensors_iio/
DCompassSensor.AKM.h63 virtual void getCompassBias(long *bias) {return;}; in getCompassBias() argument
DMPLSensor.cpp2659 memcpy(s->uncalibrated_gyro.bias, mGyroBias, sizeof(mGyroBias));
2661 s->uncalibrated_gyro.bias[0], s->uncalibrated_gyro.bias[1],
2662 s->uncalibrated_gyro.bias[2], s->timestamp, update);
2750 memcpy(s->uncalibrated_magnetic.bias, mCompassBias, sizeof(mCompassBias));
2752 s->uncalibrated_magnetic.bias[0], s->uncalibrated_magnetic.bias[1],
2753 s->uncalibrated_magnetic.bias[2], s->timestamp, update);
4403 long bias[3], temp, temp_slope[3]; local
4404 inv_get_mpl_gyro_bias(bias, &temp);
4411 (float)bias[0] / 65536.f / 16.384f,
4412 (float)bias[1] / 65536.f / 16.384f,
[all …]
DMPLSensor.h167 int (*m_pt2AccelCalLoadFunc)(long *bias) = NULL;
/hardware/invensense/65xx/libsensors_iio/
DCompassSensor.AKM.h63 virtual void getCompassBias(long *bias) {return;}; in getCompassBias() argument
DMPLSensor.cpp2502 memcpy(s->uncalibrated_gyro.bias, mGyroBias, sizeof(mGyroBias)); in rawGyroHandler()
2504 s->uncalibrated_gyro.bias[0], s->uncalibrated_gyro.bias[1], in rawGyroHandler()
2505 s->uncalibrated_gyro.bias[2], s->timestamp, update); in rawGyroHandler()
2553 memcpy(s->uncalibrated_magnetic.bias, mCompassBias, sizeof(mCompassBias)); in rawCompassHandler()
2555 s->uncalibrated_magnetic.bias[0], s->uncalibrated_magnetic.bias[1], in rawCompassHandler()
2556 s->uncalibrated_magnetic.bias[2], s->timestamp, update); in rawCompassHandler()
3975 long bias[3], temp, temp_slope[3]; in buildMpuEvent() local
3976 inv_get_mpl_gyro_bias(bias, &temp); in buildMpuEvent()
3983 (float)bias[0] / 65536.f / 16.384f, in buildMpuEvent()
3984 (float)bias[1] / 65536.f / 16.384f, in buildMpuEvent()
[all …]
DMPLSensor.h166 int (*m_pt2AccelCalLoadFunc)(long *bias) = NULL;
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.hal288 * ) + bias[channel]
292 * * * {@link OperandType::TENSOR_FLOAT32} for input, filter, output, and bias.
296 * * * {@link OperandType::TENSOR_INT32} for bias (with scale set to
301 * * * {@link OperandType::TENSOR_FLOAT16} for input, filter, output, and bias.
306 * * * {@link OperandType::TENSOR_INT32} for bias (scale set to 0.0,
312 * * * {@link OperandType::TENSOR_INT32} for bias (with scale set to
318 * * * {@link OperandType::TENSOR_INT32} for bias (scale set to 0.0,
339 * * 2: A 1-D tensor, of shape [depth_out], specifying the bias. For input
341 * or {@link OperandType::TENSOR_FLOAT16} the bias must be of the same type.
344 * the bias should be of {@link OperandType::TENSOR_INT32}, with zeroPoint
[all …]
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal337 * ) + bias[channel]
341 * * * {@link OperandType::TENSOR_FLOAT32} for input, filter, output, and bias.
345 * * * {@link OperandType::TENSOR_INT32} for bias (with scale set to
350 * * * {@link OperandType::TENSOR_FLOAT16} for input, filter, output, and bias.
355 * * * {@link OperandType::TENSOR_INT32} for bias (scale set to 0.0,
376 * * 2: A 1-D tensor, of shape [depth_out], specifying the bias. For input
378 * or {@link OperandType::TENSOR_FLOAT16} the bias must be of the same type.
380 * the bias should be of {@link OperandType::TENSOR_INT32}, with zeroPoint
383 * the bias should be of {@link OperandType::TENSOR_INT32}, with zeroPoint of 0
425 * * 2: A 1-D tensor, of shape [depth_out], specifying the bias. For input
[all …]
/hardware/libhardware/include/hardware/
Dsensors.h238 float bias[3]; member
/hardware/interfaces/gnss/1.0/
DIGnssMeasurementCallback.hal30 /** A valid 'full bias' is stored in the data structure. */
32 /** A valid 'bias' is stored in the data structure. */
34 /** A valid 'bias uncertainty' is stored in the data structure. */
198 * Sub-nanosecond bias - used with fullBiasNS, see fullBiasNs for details.
211 * bias) in nanoseconds. The uncertainty is represented as an absolute
273 * re-solve for the GNSS clock bias and drift, when using the accompanying
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DMemoryDomainTests.cpp110 TestOperand bias = { in createConvModel() local
125 std::move(bias), in createConvModel()