diff options
author | Sheri Zhang <sheri.zhang@arm.com> | 2021-11-03 21:24:00 +0000 |
---|---|---|
committer | Sheri Zhang <sheri.zhang@arm.com> | 2021-11-04 15:35:58 +0000 |
commit | c65023e01d8e5c8f5af15dd8e2ca4fae3c4889f9 (patch) | |
tree | 313c5c0786971986d92c2e59073eb06406f43990 /src/graph/nodes | |
parent | cc859158faff318a81dd9aafcc5b609d7dd5d4a9 (diff) | |
download | ComputeLibrary-c65023e01d8e5c8f5af15dd8e2ca4fae3c4889f9.tar.gz |
Refine code for graph level fusion
Partially resolves: COMPMID-4701
Signed-off-by: Sheri Zhang <sheri.zhang@arm.com>
Change-Id: I11fb89bd31ef5a98ad9a2d6bb5fd0c1e8371b52f
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6572
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Reviewed-by: SiCong Li <sicong.li@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/graph/nodes')
-rw-r--r-- | src/graph/nodes/FusedConvolutionWithPostOpNode.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/graph/nodes/FusedConvolutionWithPostOpNode.cpp b/src/graph/nodes/FusedConvolutionWithPostOpNode.cpp index c7ca59d863..63341e2760 100644 --- a/src/graph/nodes/FusedConvolutionWithPostOpNode.cpp +++ b/src/graph/nodes/FusedConvolutionWithPostOpNode.cpp @@ -37,8 +37,7 @@ FusedConvolutionWithPostOpNode::FusedConvolutionWithPostOpNode(PadStrideInfo ConvolutionMethod method, FastMathHint fast_math_hint, QuantizationInfo out_quant_info) - : _info(std::move(info)), _num_groups(num_groups), _method(method), _fast_math_hint(fast_math_hint), _out_quant_info(std::move(out_quant_info)), _fused_activation(), - _post_op_info_list(std::list<std::unique_ptr<ConvPostOpInfo>> {}) + : _info(std::move(info)), _num_groups(num_groups), _method(method), _fast_math_hint(fast_math_hint), _out_quant_info(std::move(out_quant_info)), _fused_activation() { _input_edges.resize(4, EmptyEdgeID); _outputs.resize(1, NullTensorID); @@ -64,16 +63,6 @@ FastMathHint FusedConvolutionWithPostOpNode::fast_math_hint() const return _fast_math_hint; } -const std::list<std::unique_ptr<ConvPostOpInfo>> &FusedConvolutionWithPostOpNode::post_op_info_list() const -{ - return _post_op_info_list; -} - -std::list<std::unique_ptr<ConvPostOpInfo>> &FusedConvolutionWithPostOpNode::post_op_info_list() -{ - return _post_op_info_list; -} - PadStrideInfo FusedConvolutionWithPostOpNode::convolution_info() const { return _info; |