16 template <armnn::DataType ArmnnType,
typename T = armnn::ResolveType<ArmnnType>>
20 std::vector<T> output(input.size());
21 auto outputTensorInfo = inputTensorInfo;
24 std::unique_ptr<armnn::Encoder<float>> pOutputEncoder = armnn::MakeEncoder<float>(outputTensorInfo, output.data());
27 for (
auto it = input.begin(); it != input.end(); ++it)
29 rOutputEncoder.
Set(*it);
40 std::vector<T> output(1);
41 std::unique_ptr<armnn::Encoder<float>> pEncoder = armnn::MakeEncoder<float>(tensorInfo, output.data());