Home
last modified time | relevance | path

Searched refs:tensorHasUnspecifiedDimensions (Results 1 – 12 of 12) sorted by relevance

/packages/modules/NeuralNetworks/common/include/
DLegacyUtils.h191 bool tensorHasUnspecifiedDimensions(int type, const uint32_t* dim, uint32_t dimCount);
192 bool tensorHasUnspecifiedDimensions(OperandType type, const Dimensions& dimensions);
193 bool tensorHasUnspecifiedDimensions(const ANeuralNetworksOperandType* type);
DLegacyHalUtils.h159 bool tensorHasUnspecifiedDimensions(V1_3::OperandType type,
161 bool tensorHasUnspecifiedDimensions(const V1_3::Operand& operand);
/packages/modules/NeuralNetworks/common/
DHalBufferTracker.cpp134 if (tensorHasUnspecifiedDimensions(kOperandType, kInitialDimensions)) { in validateCopyFrom()
142 if (tensorHasUnspecifiedDimensions(kOperandType, dimensions)) { in validateCopyFrom()
DBufferTracker.cpp133 if (tensorHasUnspecifiedDimensions(kOperandType, kInitialDimensions)) { in validateCopyFrom()
140 if (tensorHasUnspecifiedDimensions(kOperandType, dimensions)) { in validateCopyFrom()
DUtilsTest.cpp77 EXPECT_TRUE(tensorHasUnspecifiedDimensions(getExtensionType(1, 0), /*dim=*/nullptr, in TEST()
DLegacyHalUtils.cpp113 bool tensorHasUnspecifiedDimensions(V1_3::OperandType type, in tensorHasUnspecifiedDimensions() function
115 return tensorHasUnspecifiedDimensions(static_cast<int>(type), dimensions.data(), in tensorHasUnspecifiedDimensions()
119 bool tensorHasUnspecifiedDimensions(const V1_3::Operand& operand) { in tensorHasUnspecifiedDimensions() function
120 return tensorHasUnspecifiedDimensions(static_cast<int>(operand.type), operand.dimensions.data(), in tensorHasUnspecifiedDimensions()
DLegacyUtils.cpp346 bool tensorHasUnspecifiedDimensions(int type, const uint32_t* dim, uint32_t dimCount) { in tensorHasUnspecifiedDimensions() function
354 bool tensorHasUnspecifiedDimensions(const ANeuralNetworksOperandType* type) { in tensorHasUnspecifiedDimensions() function
355 return tensorHasUnspecifiedDimensions(type->type, type->dimensions, type->dimensionCount); in tensorHasUnspecifiedDimensions()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp206 bool tensorHasUnspecifiedDimensions(::android::nn::OperandType type, in tensorHasUnspecifiedDimensions() function in aidl::android::hardware::neuralnetworks::ShimBuffer
228 if (tensorHasUnspecifiedDimensions(kType, kInitialDimensions)) { in validateDimensions()
235 if (tensorHasUnspecifiedDimensions(kType, dimensions)) { in validateDimensions()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypeUtils.h54 bool tensorHasUnspecifiedDimensions(OperandType type, const Dimensions& dimensions);
55 bool tensorHasUnspecifiedDimensions(const Operand& operand);
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp197 bool tensorHasUnspecifiedDimensions(OperandType type, const std::vector<uint32_t>& dimensions) { in tensorHasUnspecifiedDimensions() function
205 bool tensorHasUnspecifiedDimensions(const Operand& operand) { in tensorHasUnspecifiedDimensions() function
206 return tensorHasUnspecifiedDimensions(operand.type, operand.dimensions); in tensorHasUnspecifiedDimensions()
/packages/modules/NeuralNetworks/runtime/
DModelBuilder.cpp147 tensorHasUnspecifiedDimensions(operand)) { in setOperandValue()
338 if (TypeManager::get()->isTensorType(operand.type) && tensorHasUnspecifiedDimensions(operand)) { in setOperandValueFromMemory()
DExecutionBuilder.cpp145 tensorHasUnspecifiedDimensions(operand)) { in checkDimensionInfo()
617 tensorHasUnspecifiedDimensions(mModel->getOutputOperand(i).type, in areOutputsFullySpecified()