/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 | 151 ExtensionOperandType outputType, bool addNopOperations) { in createModel() argument 153 uint32_t fibonacciOutput = model->addOperand(&outputType); in createModel() 156 uint32_t modelOutput = addNopOperations ? model->addOperand(&outputType) : fibonacciOutput; in createModel() 165 addNopOperation(model, outputType, fibonacciOutput, modelOutput); in createModel() 181 ExtensionOperandType outputType( in TEST_F() local 189 createModel(&mModel, inputType, outputType, /*addNopOperations=*/false); in TEST_F() 219 ExtensionOperandType outputType(Type::TENSOR_FLOAT32, {N}); in TEST_F() local 220 createModel(&mModel, inputType, outputType, /*addNopOperations=*/true); in TEST_F() 248 ExtensionOperandType outputType(Type::TENSOR_FLOAT32, {1}); in TEST_F() local 249 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 | 232 public static String convert(double coordinate, int outputType) { in convert() argument 237 if ((outputType != FORMAT_DEGREES) && in convert() 238 (outputType != FORMAT_MINUTES) && in convert() 239 (outputType != FORMAT_SECONDS)) { in convert() 240 throw new IllegalArgumentException("outputType=" + outputType); in convert() 252 if (outputType == FORMAT_MINUTES || outputType == FORMAT_SECONDS) { in convert() 258 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/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/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 | 715 const std::vector<uint32_t>& inputs, WrapperType outputType, in addExplicitOperationXTo1() argument 717 uint32_t output = addOperand(outputType, dimensionedOutput); in addExplicitOperationXTo1()
|
D | TestValidateOperations.cpp | 3902 for (auto outputType : outputTypes) { in TEST() local 3903 castOpTest(inputType, outputType); in TEST()
|