9 const std::vector<const TensorInfo*>& inputs,
10 const std::vector<const TensorInfo*>& outputs,
13 std::string input0Name = std::string(
"input_");
14 std::string outputName = std::string(
"output0_");
27 TosaTransposeAttribute attribute(mappings);
29 auto* op =
new TosaSerializationOperator(Op_TRANSPOSE,
30 Attribute_TransposeAttribute,
36 std::vector<TosaSerializationTensor*> tensors;
41 if(input0Name.find(
"input_") != std::string::npos)
44 DType inputDType0 =
ArmNNToDType(inputs[0]->GetDataType());
46 tensors.push_back(
new TosaSerializationTensor(input0Name, inputShape0, inputDType0, {}));
50 DType outputDType0 =
ArmNNToDType(outputs[0]->GetDataType());
52 tensors.push_back(
new TosaSerializationTensor(outputName, outputShape0, outputDType0, {}));
56 return new TosaSerializationBasicBlock(blockName,