summaryrefslogtreecommitdiff
path: root/runtimes/pure_arm_compute/src/internal/op/L2Normalization.h
blob: 70fa2fb7e07842fccb6e480cf54a56ad845c540e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef __INTERNAL_OP_L2_NORMALIZATION_H__
#define __INTERNAL_OP_L2_NORMALIZATION_H__

#include "internal/op/Node.h"

#include <cstdint>

namespace internal
{
namespace tflite
{
namespace op
{
namespace L2Normalization
{

struct Param
{
  int32_t ofm_index;

  int32_t ifm_index;

  Param() = default;
  Param(uint32_t inputCount, const uint32_t *inputs, uint32_t outputCount, const uint32_t *outputs);
};

class Node final : public op::Node
{
public:
  Node(const Param &param) : _param(param)
  {
    // DO NOTHING
  }

public:
  virtual ~Node() = default;

public:
  const Param &param(void) const { return _param; }

public:
  void accept(NodeVisitor &&) const override;

private:
  const Param _param;
};

} // namespace L2Normalization
} // namespace op
} // namespace tflite
} // namespace internal

#endif // __INTERNAL_OP_L2_NORMALIZATION_H__