ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Gather.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef _NNC_CORE_BACKEND_INTERPRETER_GATHER_
18
#define _NNC_CORE_BACKEND_INTERPRETER_GATHER_
19
20
#include "
mir/ops/GatherOp.h
"
21
#include "
mir/TensorVariant.h
"
22
23
namespace
mir_interpreter
24
{
25
26
void
Gather
(
const
mir::TensorVariant
&data,
const
mir::TensorVariant
&indices,
27
const
mir::ops::GatherOp
&op,
mir::TensorVariant
&res);
28
29
}
// namespace mir_interpreter
30
31
#endif
//_NNC_CORE_BACKEND_INTERPRETER_GATHER_
GatherOp.h
TensorVariant.h
mir::TensorVariant
Definition
TensorVariant.h:33
mir::ops::GatherOp
Gather operation as defined by ONNX spec. https://github.com/onnx/onnx/blob/master/docs/Operators....
Definition
GatherOp.h:33
mir_interpreter
Definition
MirInterpreter.h:27
mir_interpreter::Gather
void Gather(const TensorVariant &data, const TensorVariant &indices, const ops::GatherOp &op, TensorVariant &res)
Definition
Gather.cpp:86
compiler
mir-interpreter
src
ops
Gather.h
Generated by
1.9.8