Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Remove misleading error log #171

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions ngraph_creator/operations/src/OperationsBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,10 @@ bool OperationsBase::validateForPlugin() {
return validate();
}

bool OperationsBase::checkOperandType(uint32_t operandIndex, const int32_t expectedOperandType,
bool OperationsBase::checkOperandType(uint32_t operandIndex, const int32_t compareOperandType,
const std::string& strLogInfo) {
const auto operandType = (int32_t)sModelInfo->getOperandType(operandIndex);
if (operandType != expectedOperandType) {
ALOGE("OperationIndex %d %s Index %d type %d invalid", mNnapiOperationIndex,
strLogInfo.c_str(), operandIndex, operandType);
if (operandType != compareOperandType) {
return false;
}
ALOGV("OperationIndex %d %s Index %d type %d PASSED", mNnapiOperationIndex, strLogInfo.c_str(),
Expand Down
Loading