Home
last modified time | relevance | path

Searched refs:isSufficient (Results 1 – 14 of 14) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DModelArgumentInfo.h72 bool isSufficient() const { in isSufficient() function
76 bool& isSufficient() { in isSufficient() function
DExecutionBuilder.cpp71 [](const OutputShape& shape) { return shape.isSufficient; })) in validateOutputShapesFromDriver()
93 [](const OutputShape& shape) { return !shape.isSufficient; })) in validateOutputShapesFromDriver()
543 return mOutputs[index].isSufficient() ? ANEURALNETWORKS_NO_ERROR in getOutputOperandDimensions()
565 return mOutputs[index].isSufficient() ? ANEURALNETWORKS_NO_ERROR in getOutputOperandRank()
1143 return {.dimensions = std::move(dimensions), .isSufficient = true}; in getInitialOutputShapes()
1160 return (executionResultCode == ANEURALNETWORKS_NO_ERROR) && outputShape.isSufficient && in isZeroSizedTensor()
1183 mOutputs[i].isSufficient() = outputShapes[i].isSufficient; in updateOutputShapes()
1265 update->mainOutputInsufficient |= !(*to)[toIndex].isSufficient; in updateOutputShapes()
1303 } else if (!from[i].isSufficient) { in updateOutputShapes()
/packages/modules/NeuralNetworks/common/
DExecutionBurstController.cpp190 const bool isSufficient = operandInfo.isSufficient; in deserialize() local
213 outputShapes.push_back({/*.dimensions=*/dimensions, /*.isSufficient=*/isSufficient}); in deserialize()
DExecutionBurstServer.cpp140 info.isSufficient = operand.isSufficient; in serialize()
DCpuExecutor.cpp233 if (!info->isSufficient()) { in setInfoAndAllocateIfNeeded()
1868 mOutputShapes[i].isSufficient = from.isSufficient(); in setOutputShapes()
/packages/modules/NeuralNetworks/runtime/test/
DTestExecution.cpp111 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in execute_1_2()
133 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in execute_1_3()
150 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in executeSynchronously()
170 V1_2::OutputShape shape = {.dimensions = {1}, .isSufficient = false}; in executeSynchronously_1_3()
/packages/modules/NeuralNetworks/common/include/
DCpuExecutor.h86 bool isSufficient() const { in isSufficient() function
/packages/modules/NeuralNetworks/shim_and_sl/
DShimPreparedModel.cpp354 outputShape.isSufficient = true; in executeSynchronouslyInternal()
358 outputShape.isSufficient = false; in executeSynchronouslyInternal()
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.cpp103 if (!outputShapes[i].isSufficient) { in updateDeviceMemories()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypes.h222 bool isSufficient = false; member
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidl.cpp385 if (!outputShapes[i].isSufficient) { in updateDeviceMemories()
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp505 << ", .isSufficient=" << (outputShape.isSufficient ? "true" : "false") << "}"; in operator <<()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriver.cpp437 if (!outputShapes[i].isSufficient) { in updateDeviceMemories()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec6897 bool isSufficient%{init_bool};