Home
last modified time | relevance | path

Searched refs:exponent (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DStochasticRoundingUtil.java67 int exponent = log2(abs(value)); in roundStochastically() local
68 double mantissa = value * Math.pow(2.0, -exponent); in roundStochastically()
70 if (exponent < MIN_8_BIT_INT_VALUE) { in roundStochastically()
74 if (exponent > MAX_8_BIT_INT_VALUE) { in roundStochastically()
82 return ldexp(truncatedScaledValue, exponent - numBits); in roundStochastically()
89 private static double ldexp(double x, int exponent) { in ldexp() argument
90 return x * Math.pow(2, exponent); in ldexp()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattCharacteristic.java644 public boolean setValue(int mantissa, int exponent, int formatType, int offset) { in setValue() argument
652 exponent = intToSignedBits(exponent, 4); in setValue()
655 mValue[offset] += (byte) ((exponent & 0x0F) << 4); in setValue()
660 exponent = intToSignedBits(exponent, 8); in setValue()
664 mValue[offset] += (byte) (exponent & 0xFF); in setValue()
716 int exponent = unsignedToSigned(unsignedByteToInt(b1) >> 4, 4); in bytesToFloat() local
717 return (float) (mantissa * Math.pow(10, exponent)); in bytesToFloat()
/packages/modules/adb/crypto/
Drsa_2048_key.cpp54 bssl::UniquePtr<BIGNUM> exponent(BN_new()); in CreateRSA2048Key() local
56 if (!pkey || !exponent || !rsa) { in CreateRSA2048Key()
61 BN_set_word(exponent.get(), RSA_F4); in CreateRSA2048Key()
62 RSA_generate_key_ex(rsa.get(), 2048, exponent.get(), nullptr); in CreateRSA2048Key()
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Dpow_same_shape.mod.py17 exponent = Input("exponent", "TENSOR_FLOAT32", "{3, 2, 1}") variable
24 model = Model().Operation("POW", base, exponent).To(output).IntroducedIn("V1_2")
27 exponent: exponent_data,
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Dpow.mod.py35 for exponent, output, exponent_data, output_data in zip(exponents, outputs, exponents_data, outputs…
36 model = Model().Operation("POW", base, exponent).To(output)
39 exponent: exponent_data,
/packages/modules/NeuralNetworks/common/cpu_operations/
DGroupedConv2D.cpp126 int exponent; in groupedConvQuant8() local
127 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in groupedConvQuant8()
128 outputShift = -exponent; in groupedConvQuant8()
230 int exponent; in groupedConvQuant8PerChannel() local
231 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in groupedConvQuant8PerChannel()
232 outputShift[i] = -exponent; in groupedConvQuant8PerChannel()
DFullyConnected.cpp120 int exponent; in fullyConnectedQuant8() local
121 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in fullyConnectedQuant8()
122 outputShift = -exponent; in fullyConnectedQuant8()
DTransposeConv2D.cpp208 int exponent; in transposeConvNhwc() local
209 NN_RET_CHECK(QuantizeMultiplier(realMultiplier, &outputMultiplier, &exponent)); in transposeConvNhwc()
210 outputShift = -exponent; in transposeConvNhwc()
349 int exponent; in transposeConvQuant8PerChannelNhwc() local
350 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in transposeConvQuant8PerChannelNhwc()
351 outputShift[i] = -exponent; in transposeConvQuant8PerChannelNhwc()
DDepthwiseConv2D.cpp208 int exponent; in depthwiseConvNhwc() local
209 NN_RET_CHECK(QuantizeMultiplier(real_multiplier, &output_multiplier, &exponent)); in depthwiseConvNhwc()
210 output_shift = -exponent; in depthwiseConvNhwc()
310 int exponent; in depthwiseConvQuant8PerChannelNhwc() local
311 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in depthwiseConvQuant8PerChannelNhwc()
312 outputShift[i] = -exponent; in depthwiseConvQuant8PerChannelNhwc()
DConv2D.cpp242 int exponent; in convNhwc() local
243 NN_RET_CHECK(QuantizeMultiplier(real_multiplier, &output_multiplier, &exponent)); in convNhwc()
244 output_shift = -exponent; in convNhwc()
384 int exponent; in convQuant8PerChannelNhwc() local
385 NN_RET_CHECK(QuantizeMultiplier(realMultiplier[i], &outputMultiplier[i], &exponent)); in convQuant8PerChannelNhwc()
386 outputShift[i] = -exponent; in convQuant8PerChannelNhwc()
/packages/modules/adb/client/
Dusb_libusb.cpp542 static uint64_t exponent[] = {0, 0, 1, 1000}; in ExtractMaxSuperSpeedPlus() local
546 uint64_t speed = attr->mantissa * exponent[attr->exponent]; in ExtractMaxSuperSpeedPlus()
/packages/modules/NeuralNetworks/common/
DCpuExecutor.cpp1638 const RunTimeOperandInfo& exponent = operands[ins[1]]; in executeOperation() local
1643 success = pow::prepare(base.shape(), exponent.shape(), &outShape) && in executeOperation()
1645 pow::eval(base.buffer, base.shape(), exponent.buffer, exponent.shape(), in executeOperation()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec1451 * * 4: A scalar, specifying the exponent, beta.
2316 * * 1: A scalar, specifying the positive scaling factor for the exponent,
2322 * * 1: A scalar, specifying the positive scaling factor for the exponent,
4714 * * 1: A scalar, specifying the positive scaling factor for the exponent,
4908 * Given a tensor base and a tensor exponent, this operation computes
4909 * base^exponent elementwise.
4917 * exponent.dimension = {5, 4, 3, 1}
4928 * * 1: A tensor specifying the exponent.
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt884 Landroid/icu/impl/number/Parse$StateItem;->exponent:I
3624 Landroid/icu/text/NFRule;->exponent:S
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dcs_wordlist.combined.gz

12