/frameworks/ml/nn/common/operations/ |
D | Dequantize.cpp | 84 const OperandType outputType = context->getOutputType(kOutputTensor); in validate() local 92 outputType == OperandType::TENSOR_FLOAT32) { in validate() 101 NN_RET_CHECK(outputType == OperandType::TENSOR_FLOAT16 || in validate() 102 outputType == OperandType::TENSOR_FLOAT32) in validate() 103 << "Unsupported output operand type for DEQUANTIZE op: " << toString(outputType); in validate() 120 const OperandType outputType = context->getOutputType(kOutputTensor); in execute() local 125 if (outputType == OperandType::TENSOR_FLOAT16) { in execute() 128 } else if (outputType == OperandType::TENSOR_FLOAT32) { in execute() 133 if (outputType == OperandType::TENSOR_FLOAT16) { in execute() 136 } else if (outputType == OperandType::TENSOR_FLOAT32) { in execute() [all …]
|
D | Fill.cpp | 49 bool getValueType(OperandType outputType, OperandType* valueType) { in getValueType() argument 50 switch (outputType) { in getValueType() 61 NN_RET_CHECK_FAIL() << "Unsupported value type for fill op: " << toString(outputType); in getValueType() 72 OperandType outputType = context->getOutputType(kOutputTensor); in validate() local 73 NN_RET_CHECK(outputType == OperandType::TENSOR_FLOAT16 || in validate() 74 outputType == OperandType::TENSOR_FLOAT32 || in validate() 75 outputType == OperandType::TENSOR_INT32) in validate() 76 << "Unsupported output type for fill op: " << toString(outputType); in validate() 77 NN_RET_CHECK(validateOutputTypes(context, {outputType})); in validate() 80 NN_RET_CHECK(getValueType(outputType, &valueType)); in validate()
|
D | Quantize.cpp | 74 const OperandType outputType = context->getOutputType(kOutputTensor); in validate() local 79 NN_RET_CHECK(outputType == OperandType::TENSOR_QUANT8_ASYMM || in validate() 80 outputType == OperandType::TENSOR_QUANT8_ASYMM_SIGNED) in validate() 81 << "Unsupported output operand type for QUANTIZE op: " << toString(outputType); in validate() 82 if (outputType == OperandType::TENSOR_QUANT8_ASYMM_SIGNED) { in validate() 101 const OperandType outputType = context->getOutputType(kOutputTensor); in execute() local 103 if (outputType == OperandType::TENSOR_QUANT8_ASYMM) { in execute() 107 } else if (outputType == OperandType::TENSOR_QUANT8_ASYMM_SIGNED) { in execute() 113 if (outputType == OperandType::TENSOR_QUANT8_ASYMM) { in execute() 117 } else if (outputType == OperandType::TENSOR_QUANT8_ASYMM_SIGNED) { in execute()
|
D | MultinomialTest.cpp | 50 OperandType outputType(Type::TENSOR_INT32, {batch_size_, sample_size_}); in MultinomialOpModel() local 51 outputs.push_back(model_.addOperand(&outputType)); in MultinomialOpModel()
|
/frameworks/ml/nn/runtime/test/fibonacci_extension/ |
D | FibonacciExtensionTest.cpp | 145 ExtensionOperandType outputType, bool addNopOperations) { in createModel() argument 147 uint32_t fibonacciOutput = model->addOperand(&outputType); in createModel() 150 uint32_t modelOutput = addNopOperations ? model->addOperand(&outputType) : fibonacciOutput; in createModel() 159 addNopOperation(model, outputType, fibonacciOutput, modelOutput); in createModel() 175 ExtensionOperandType outputType( in TEST_F() local 183 createModel(&mModel, inputType, outputType, /*addNopOperations=*/false); in TEST_F() 213 ExtensionOperandType outputType(Type::TENSOR_FLOAT32, {N}); in TEST_F() local 214 createModel(&mModel, inputType, outputType, /*addNopOperations=*/true); in TEST_F() 242 ExtensionOperandType outputType(Type::TENSOR_FLOAT32, {1}); in TEST_F() local 243 createModel(&mModel, inputType, outputType, /*addNopOperations=*/false); in TEST_F() [all …]
|
D | FibonacciDriver.cpp | 71 int32_t outputType = static_cast<int32_t>(model.main.operands[operation.outputs[0]].type); in validate() local 76 NN_RET_CHECK(outputType == ((prefix << kLowBitsType) | EXAMPLE_TENSOR_QUANT64_ASYMM) || in validate() 77 outputType == ANEURALNETWORKS_TENSOR_FLOAT32); in validate()
|
/frameworks/base/location/java/android/location/ |
D | Location.java | 229 public static String convert(double coordinate, int outputType) { in convert() argument 234 if ((outputType != FORMAT_DEGREES) && in convert() 235 (outputType != FORMAT_MINUTES) && in convert() 236 (outputType != FORMAT_SECONDS)) { in convert() 237 throw new IllegalArgumentException("outputType=" + outputType); in convert() 249 if (outputType == FORMAT_MINUTES || outputType == FORMAT_SECONDS) { in convert() 255 if (outputType == FORMAT_SECONDS) { in convert()
|
/frameworks/av/include/drm/ |
D | drm_framework_common.h | 88 outputType(_outputType), in ActionDescription() 93 int outputType; /* BLUETOOTH , HDMI*/
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | Filters.java | 41 Object in, Type outputType); in asyncLaunch() argument 47 Object in, Type outputType) { in asyncLaunch() argument 48 return builder.addKernel(getKernelID(), outputType, in); in asyncLaunch() 128 Object in, Type outputType) { in asyncLaunch() argument 129 return builder.addKernel(getKernelID(), outputType, in asyncLaunch()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 254 AudioPolicyInterface::output_type_t outputType; in getOutputForAttr() local 259 &outputType); in getOutputForAttr() 264 switch (outputType) { in getOutputForAttr() 284 __func__, (int)outputType); in getOutputForAttr()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 125 output_type_t *outputType) override; 841 output_type_t *outputType);
|
D | AudioPolicyManager.cpp | 914 output_type_t *outputType) in getOutputForAttrInt() argument 922 *outputType = API_OUTPUT_INVALID; in getOutputForAttrInt() 981 *outputType = API_OUT_MIX_PLAYBACK; in getOutputForAttrInt() 983 *outputType = API_OUTPUT_LEGACY; in getOutputForAttrInt() 1043 *outputType = API_OUTPUT_TELEPHONY_TX; in getOutputForAttrInt() 1045 *outputType = API_OUTPUT_LEGACY; in getOutputForAttrInt() 1063 output_type_t *outputType) in getOutputForAttr() argument 1083 secondaryOutputs != nullptr ? &secondaryMixes : nullptr, outputType); in getOutputForAttr() 3717 output_type_t outputType; in createAudioPatchInternal() local 3721 nullptr, &outputType); in createAudioPatchInternal()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 131 output_type_t *outputType) = 0;
|
/frameworks/av/drm/common/ |
D | IDrmManagerService.cpp | 460 data.writeInt32(description.outputType); in validateAction() 1172 const int outputType = data.readInt32(); in onTransact() local 1175 ActionDescription(outputType, configuration)); in onTransact()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 184 AudioPolicyInterface::output_type_t outputType; in getOutputForAttr() local 187 selectedDeviceId, portId, {}, &outputType)); in getOutputForAttr()
|
/frameworks/ml/nn/common/ |
D | Utils.cpp | 1539 auto outputType = outputOperand.type; in validateOperation() local 1546 (outputType == OperandType::TENSOR_FLOAT16 || in validateOperation() 1547 outputType == OperandType::TENSOR_FLOAT32 || in validateOperation() 1548 outputType == OperandType::TENSOR_INT32 || in validateOperation() 1549 outputType == OperandType::TENSOR_QUANT8_ASYMM)) { in validateOperation() 1551 outExpectedTypes = {outputType}; in validateOperation()
|
/frameworks/ml/nn/runtime/test/ |
D | TestPartitioning.cpp | 705 const std::vector<uint32_t>& inputs, WrapperType outputType, in addExplicitOperationXTo1() argument 707 uint32_t output = addOperand(outputType, dimensionedOutput); in addExplicitOperationXTo1()
|
D | TestValidateOperations.cpp | 3901 for (auto outputType : outputTypes) { in TEST() local 3902 castOpTest(inputType, outputType); in TEST()
|