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

Commit

Permalink
Remove misleading error log
Browse files Browse the repository at this point in the history
  • Loading branch information
anikulk committed Dec 13, 2023
1 parent 6c7a3a2 commit e91c990
Showing 1 changed file with 2 additions and 4 deletions.
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

0 comments on commit e91c990

Please sign in to comment.