MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetAxesNotMul

Method GetAxesNotMul

src/armnn/Descriptors.cpp:506–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504}
505
506std::vector<unsigned int> BatchMatMulDescriptor::GetAxesNotMul(
507 DataLayout dataLayout,
508 const TensorShape& tensorShape)
509{
510 auto axesToMul = BatchMatMulDescriptor::GetAxesToMul(dataLayout, tensorShape);
511 std::vector<unsigned int> axesNotMul;
512 for(unsigned int i = 0; i < tensorShape.GetNumDimensions(); i++)
513 {
514 if(i == axesToMul.first || i == axesToMul.second)
515 {
516 continue;
517 }
518 axesNotMul.push_back(i);
519 }
520 return axesNotMul;
521}
522
523PermutationVector BatchMatMulDescriptor::GetPermuteVec(
524 DataLayout dataLayout,

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80
GetNumDimensionsMethod · 0.45

Tested by

no test coverage detected