diff options
Diffstat (limited to 'src/graph/nodes')
-rw-r--r-- | src/graph/nodes/FullyConnectedLayer.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/graph/nodes/FullyConnectedLayer.cpp b/src/graph/nodes/FullyConnectedLayer.cpp index 80fce7b8a1..34c432a1ce 100644 --- a/src/graph/nodes/FullyConnectedLayer.cpp +++ b/src/graph/nodes/FullyConnectedLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 ARM Limited. + * Copyright (c) 2018-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -38,6 +38,11 @@ FullyConnectedLayerNode::FullyConnectedLayerNode(unsigned int num_outputs, Quant _outputs.resize(1, NullTensorID); } +void FullyConnectedLayerNode::set_fused_activation(ActivationLayerInfo fused_activation) +{ + _info.activation_info = fused_activation; +} + TensorDescriptor FullyConnectedLayerNode::compute_weights_descriptor(const TensorDescriptor &input_descriptor, unsigned int num_outputs, FullyConnectedLayerInfo fc_info, |