Lines Matching refs:SpecificationLevel

58 enum class SpecificationLevel {  enum
65 SpecificationLevel, // model construction time
66 SpecificationLevel>; // execution time
122 std::string toString(SpecificationLevel level) { in toString()
124 case SpecificationLevel::FULLY_SPECIFIED: in toString()
126 case SpecificationLevel::UNSPECIFIED_DIM: in toString()
128 case SpecificationLevel::UNSPECIFIED_RANK: in toString()
130 case SpecificationLevel::UNSPECIFIED_TYPE: in toString()
206 std::vector<SpecificationLevel> levels{ in SetUp()
207 SpecificationLevel::UNSPECIFIED_DIM, SpecificationLevel::FULLY_SPECIFIED, in SetUp()
208 SpecificationLevel::UNSPECIFIED_DIM, SpecificationLevel::FULLY_SPECIFIED, in SetUp()
209 SpecificationLevel::UNSPECIFIED_DIM, SpecificationLevel::FULLY_SPECIFIED, in SetUp()
210 SpecificationLevel::FULLY_SPECIFIED, SpecificationLevel::FULLY_SPECIFIED}; in SetUp()
219 const SpecificationLevel l = mSpecificationLevels[index]; in getType()
221 if (l != SpecificationLevel::UNSPECIFIED_RANK) { in getType()
226 setDim.push_back(l == SpecificationLevel::FULLY_SPECIFIED ? d : 0); in getType()
257 (kLevel == SpecificationLevel::UNSPECIFIED_TYPE) ? nullptr : &type.operandType; in setInOut()
334 (mSpecificationLevels[kIndex0_Model] == SpecificationLevel::FULLY_SPECIFIED || in TestOne()
335 mSpecificationLevels[kIndex2_Model] == SpecificationLevel::FULLY_SPECIFIED || in TestOne()
336 mSpecificationLevels[kIndex4_Model] == SpecificationLevel::FULLY_SPECIFIED)) { in TestOne()
397 if (kLevel1_Model != SpecificationLevel::FULLY_SPECIFIED || mBadIndex == kIndex1_Model) { in expectModelIsValid()
411 case SpecificationLevel::UNSPECIFIED_DIM: in expectSetInput0()
412 case SpecificationLevel::UNSPECIFIED_RANK: in expectSetInput0()
414 case SpecificationLevel::FULLY_SPECIFIED: in expectSetInput0()
416 kLevel0_Model != SpecificationLevel::UNSPECIFIED_RANK) { in expectSetInput0()
420 case SpecificationLevel::UNSPECIFIED_TYPE: in expectSetInput0()
421 if (kLevel0_Model == SpecificationLevel::UNSPECIFIED_DIM || in expectSetInput0()
422 kLevel0_Model == SpecificationLevel::UNSPECIFIED_RANK || in expectSetInput0()
439 case SpecificationLevel::UNSPECIFIED_DIM: in expectSetInput1()
440 if (kLevel3_Model == SpecificationLevel::FULLY_SPECIFIED) { in expectSetInput1()
444 case SpecificationLevel::UNSPECIFIED_RANK: in expectSetInput1()
445 if (kLevel3_Model != SpecificationLevel::UNSPECIFIED_RANK) { in expectSetInput1()
463 case SpecificationLevel::UNSPECIFIED_DIM: in expectSetOutput0()
464 if (kLevel4_Model == SpecificationLevel::FULLY_SPECIFIED || in expectSetOutput0()
465 (kLevel4_Model == SpecificationLevel::UNSPECIFIED_DIM && in expectSetOutput0()
470 case SpecificationLevel::UNSPECIFIED_RANK: in expectSetOutput0()
471 if (kLevel4_Model != SpecificationLevel::UNSPECIFIED_RANK) { in expectSetOutput0()
475 case SpecificationLevel::FULLY_SPECIFIED: in expectSetOutput0()
477 kLevel4_Model != SpecificationLevel::UNSPECIFIED_RANK) || in expectSetOutput0()
482 case SpecificationLevel::UNSPECIFIED_TYPE: in expectSetOutput0()
483 if (kLevel4_Model == SpecificationLevel::FULLY_SPECIFIED && in expectSetOutput0()
521 (mSpecificationLevels[mBadIndex] == SpecificationLevel::UNSPECIFIED_RANK || in TestAll()
522 mSpecificationLevels[mBadIndex] == SpecificationLevel::UNSPECIFIED_TYPE)) { in TestAll()
538 const SpecificationLevel kSpecificationLevelModel = std::get<1>(GetParam());
539 const SpecificationLevel kSpecificationLevelExecution = std::get<2>(GetParam());
541 std::vector<SpecificationLevel> mSpecificationLevels;
568 testing::Values(SpecificationLevel::FULLY_SPECIFIED, SpecificationLevel::UNSPECIFIED_DIM,
569 SpecificationLevel::UNSPECIFIED_RANK);
571 testing::Values(SpecificationLevel::FULLY_SPECIFIED, SpecificationLevel::UNSPECIFIED_DIM,
572 SpecificationLevel::UNSPECIFIED_RANK, SpecificationLevel::UNSPECIFIED_TYPE);
573 static const auto kFullySpecified = testing::Values(SpecificationLevel::FULLY_SPECIFIED);