blob: 31c4d041c1b7d5fea4ae356aee2150e53d754415 [file] [log] [blame]
Jim Flynne571d332019-04-15 14:34:17 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5#pragma once
6
7#include <string>
8#include <utility>
9
10namespace
11{
12
13struct LstmInput
14{
15 LstmInput(const std::vector<float>& inputSeq,
16 const std::vector<float>& stateC,
17 const std::vector<float>& stateH)
18 : m_InputSeq(inputSeq)
19 , m_StateC(stateC)
20 , m_StateH(stateH)
21 {}
22
23 std::vector<float> m_InputSeq;
24 std::vector<float> m_StateC;
25 std::vector<float> m_StateH;
26};
27
28using LstmInputs = std::pair<std::string, std::vector<LstmInput>>;
29
30} // anonymous namespace