9 const std::vector<const TensorInfo*>& inputs,
10 const std::vector<const TensorInfo*>& outputs,
13 std::string inputName = std::string(
"input0_");
14 std::string outputName = std::string(
"output0_");
31 auto* op =
new TosaSerializationOperator(Op_RESHAPE,
32 Attribute_ReshapeAttribute,
37 std::vector<TosaSerializationTensor*> tensors;
42 if(inputName.find(
"input0_") != std::string::npos)
45 DType inputDType =
ArmNNToDType(inputs[0]->GetDataType());
47 tensors.push_back(
new TosaSerializationTensor(inputName, inputShape, inputDType, {}));
51 DType outputDType =
ArmNNToDType(outputs[0]->GetDataType());
53 tensors.push_back(
new TosaSerializationTensor(outputName, outputShape, outputDType, {}));
57 return new TosaSerializationBasicBlock(blockName,