9 const std::vector<const TensorInfo*>& inputs,
10 const std::vector<const TensorInfo*>& outputs,
13 std::string inputName = std::string(
"input_");
14 std::string outputName = std::string(
"output0_");
27 auto* op =
new TosaSerializationOperator(Op_RESHAPE,
28 Attribute_ReshapeAttribute,
33 std::vector<TosaSerializationTensor*> tensors;
38 if(inputName.find(
"input_") != std::string::npos)
41 DType inputDType =
ArmNNToDType(inputs[0]->GetDataType());
43 tensors.push_back(
new TosaSerializationTensor(inputName, inputShape, inputDType, {}));
47 DType outputDType =
ArmNNToDType(outputs[0]->GetDataType());
49 tensors.push_back(
new TosaSerializationTensor(outputName, outputShape, outputDType, {}));
53 return new TosaSerializationBasicBlock(blockName,