• Home
  • Raw
  • Download

Lines Matching refs:NN_VALIDATE_EQ

89 #define NN_VALIDATE_EQ(x, y) NN_VALIDATE_OP(x, y, ==)  macro
206 NN_VALIDATE_EQ((operand.type == OperandType::SUBGRAPH), in validateOperandLifeTime()
391 NN_VALIDATE_EQ(location.padding, 0u) in validateOperandDataLocation()
397 NN_VALIDATE_EQ(location.poolIndex, 0u) in validateOperandDataLocation()
419 NN_VALIDATE_EQ(location.poolIndex, 0u) in validateOperandDataLocation()
422 NN_VALIDATE_EQ(location.offset, 0u) << "Unexpected offset " << location.offset in validateOperandDataLocation()
424 NN_VALIDATE_EQ(location.length, 0u) << "Unexpected length " << location.length in validateOperandDataLocation()
429 NN_VALIDATE_EQ(location.poolIndex, 0u) in validateOperandDataLocation()
434 NN_VALIDATE_EQ(location.length, 0u) in validateOperandDataLocation()
445 NN_VALIDATE_EQ(location.poolIndex, 0u) in validateOperandDataLocation()
447 NN_VALIDATE_EQ(location.offset, 0u) in validateOperandDataLocation()
516 NN_VALIDATE_EQ(operand.scale, 0.0f) in validateOperandScale()
540 NN_VALIDATE_EQ(operand.scale, 0.0f) << "Operand of type " << operand.type in validateOperandScale()
561 NN_VALIDATE_EQ(operand.zeroPoint, 0) in validateOperandZeroPoint()
581 NN_VALIDATE_EQ(operand.zeroPoint, 0) in validateOperandZeroPoint()
591 NN_VALIDATE_EQ(operand.zeroPoint, 0) << "Operand of type " << operand.type in validateOperandZeroPoint()
633 NN_VALIDATE_EQ(channelQuant.scales.size(), expected) in validateOperandExtraParams()
684 NN_VALIDATE_EQ(operand.location.length, expectedLength) in validateOperand()
755 NN_VALIDATE_EQ(memory.prot & ~kAllowedBits, 0); in validateMemory()
784 NN_VALIDATE_EQ(operand.lifetime, lifetime) in validateModelSubgraphInputOutputs()
1069 NN_VALIDATE_EQ(location.poolIndex, 0u); in validateRequestArgument()
1070 NN_VALIDATE_EQ(location.offset, 0u); in validateRequestArgument()
1071 NN_VALIDATE_EQ(location.length, 0u); in validateRequestArgument()
1072 NN_VALIDATE_EQ(location.padding, 0u); in validateRequestArgument()
1079 NN_VALIDATE_EQ(location.poolIndex, 0u); in validateRequestArgument()
1080 NN_VALIDATE_EQ(location.offset, 0u); in validateRequestArgument()
1174 NN_VALIDATE_EQ(requestArgumentCount, operandIndexes.size()) in validateRequestArgumentsForModel()
1241 NN_VALIDATE_EQ(requestArgument.location.length, expectedLength) in validateRequestArgumentsForModel()
1312 NN_VALIDATE_EQ(operand.type, opType) << operand.type << " vs " << operands.front().type; in validateMemoryDescImpl()
1313 NN_VALIDATE_EQ(operand.scale, operands.front().scale); in validateMemoryDescImpl()
1314 NN_VALIDATE_EQ(operand.zeroPoint, operands.front().zeroPoint); in validateMemoryDescImpl()
1317 NN_VALIDATE_EQ(operand.extraParams, operands.front().extraParams) in validateMemoryDescImpl()
1431 NN_VALIDATE_EQ(channelQuant.scales.size(), operand.dimensions[channelQuant.channelDim]) << tag; in validateOperandSymmPerChannelQuantParamsImpl()
1460 NN_VALIDATE_EQ(type.zeroPoint, 0) << tag << " invalid zeroPoint: " << type.zeroPoint; in validateQuant8SymmParams()
1473 NN_VALIDATE_EQ(type.zeroPoint, 0) << tag << " zeroPoint is not zero"; in validateQuantSymmParams()
1479 NN_VALIDATE_EQ(type.zeroPoint, 0) << tag << " zeroPoint is not zero"; in validateNoQuantParams()
1480 NN_VALIDATE_EQ(type.scale, 0.0f) << tag << " scale is not zero"; in validateNoQuantParams()
1566 NN_VALIDATE_EQ(inputIndexes.size(), inExpectedTypes.size()) in validateOperationOperandTypes()
1569 NN_VALIDATE_EQ(outputIndexes.size(), outExpectedInTypes.size()) in validateOperationOperandTypes()
1573 NN_VALIDATE_EQ(operands[inputIndexes[i]].type, inExpectedTypes[i]) in validateOperationOperandTypes()
1578 NN_VALIDATE_EQ(operands[outputIndexes[i]].type, outExpectedInTypes[i]) in validateOperationOperandTypes()
1588 NN_VALIDATE_EQ(modelOperand.type, OperandType::SUBGRAPH) in validateSubgraphReference()
1618 NN_VALIDATE_EQ(a.type, b.type) << a.type << " != " << b.type; in compatible()
1620 NN_VALIDATE_EQ(a.dimensions.size(), b.dimensions.size()) << "Incompatible dimensions"; in compatible()
1623 NN_VALIDATE_EQ(a.dimensions[i], b.dimensions[i]) << "Incompatible dimensions"; in compatible()
1627 NN_VALIDATE_EQ(a.scale, b.scale); in compatible()
1628 NN_VALIDATE_EQ(a.zeroPoint, b.zeroPoint); in compatible()
1629 NN_VALIDATE_EQ(a.extraParams, b.extraParams) << a.extraParams << " != " << b.extraParams; in compatible()
1634 NN_VALIDATE_EQ(operand.type, OperandType::TENSOR_BOOL8) in validateConditionOperand()
1636 NN_VALIDATE_EQ(operand.dimensions.size(), 1u) << "Condition operand must be a singleton"; in validateConditionOperand()
1637 NN_VALIDATE_EQ(operand.dimensions[0], 1u) << "Condition operand must be a singleton"; in validateConditionOperand()
1656 NN_VALIDATE_EQ(inputs.size(), op::kFirstInput + branchModelInputCount); in validateIfOperation()
1657 NN_VALIDATE_EQ(outputs.size(), branchModelOutputCount); in validateIfOperation()
1718 NN_VALIDATE_EQ(inputs.size(), op::kFirstInput + condModelInputCount); in validateWhileOperation()
1719 NN_VALIDATE_EQ(condModelOutputCount, 1u); in validateWhileOperation()
1741 NN_VALIDATE_EQ(inputs.size(), op::kFirstInput + bodyModelInputCount); in validateWhileOperation()
2502 NN_VALIDATE_EQ(inputIndexes.size(), 3u) in validateOperationButNotOperandsImpl()