aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/Softmax.hpp
blob: 25c74494746fefbd95d4e871d890b03f6730298a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include "BaseIterator.hpp"
#include <armnn/Tensor.hpp>

namespace armnn
{

/// Computes the softmax function on some inputs, into outputs, with a shape given by tensorInfo.
void Softmax(Decoder<float>& in, Encoder<float>& out, const TensorInfo& inputTensorInfo, float beta, int axis = -1);

} //namespace armnn