diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2018-05-02 13:59:04 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:51:50 +0000 |
commit | 59631a174e1b5ef23bd3a0102f60b57c99502766 (patch) | |
tree | 5d8e15d7a3b65e5071db82e2937ee1808953823f /arm_compute/graph/GraphBuilder.h | |
parent | ef9e05978ab008e533cc76a8e6f10c9e86a880c1 (diff) | |
download | ComputeLibrary-59631a174e1b5ef23bd3a0102f60b57c99502766.tar.gz |
COMPMID-1104 Add fast math hint in the graph API
Change-Id: I83db135fa94c6884e080f0229a9b6430d908c029
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/129823
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/graph/GraphBuilder.h')
-rw-r--r-- | arm_compute/graph/GraphBuilder.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arm_compute/graph/GraphBuilder.h b/arm_compute/graph/GraphBuilder.h index bbbbefbcbb..aea28eb8d6 100644 --- a/arm_compute/graph/GraphBuilder.h +++ b/arm_compute/graph/GraphBuilder.h @@ -99,6 +99,8 @@ public: ITensorAccessorUPtr beta_accessor = nullptr, ITensorAccessorUPtr gamma_accessor = nullptr); /** Adds a convolution layer node to the graph * + * TODO (COMPMID-1113): Add a graph descriptor for convolution layer node + * * @param[in] g Graph to add the node to * @param[in] params Common node parameters * @param[in] input Input to the convolution layer node as a NodeID-Index pair @@ -107,6 +109,7 @@ public: * @param[in] conv_info Convolution layer information * @param[in] num_groups (Optional) Number of groups for a grouped convolution. Defaults to 1 * @param[in] method (Optional) Convolution method to use + * @param[in] fast_math_hint (Optional) Fast math hint * @param[in] weights_accessor (Optional) Accessor of the weights node data * @param[in] bias_accessor (Optional) Accessor of the bias node data * @param[in] weights_quant_info (Optional) Weights quantization info @@ -116,7 +119,7 @@ public: */ static NodeID add_convolution_node(Graph &g, NodeParams params, NodeIdxPair input, Size2D kernel_spatial_extend, unsigned int depth, PadStrideInfo conv_info, - unsigned int num_groups = 1, ConvolutionMethod method = ConvolutionMethod::DEFAULT, + unsigned int num_groups = 1, ConvolutionMethod method = ConvolutionMethod::DEFAULT, FastMathHint fast_math_hint = FastMathHint::DISABLED, ITensorAccessorUPtr weights_accessor = nullptr, ITensorAccessorUPtr bias_accessor = nullptr, const QuantizationInfo weights_quant_info = QuantizationInfo(), const QuantizationInfo out_quant_info = QuantizationInfo()); |