ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Pack.cc
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 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
#include "
ir/operation/Pack.h
"
17
#include "
ir/OperationVisitor.h
"
18
19
namespace
onert::ir::operation
20
{
21
void
Pack::accept
(
OperationVisitor
&v)
const
{ v.visit(*
this
); }
22
Pack::Pack
(
const
OperandIndexSequence
&inputs,
const
OperandIndexSequence
&outputs,
23
const
Param
¶m)
24
:
Operation
{
OperandConstraint
::createAtLeast(1u), inputs, outputs}, _param{param}
25
{
26
}
27
}
// namespace onert::ir::operation
OperationVisitor.h
onert::ir::OperandConstraint
Definition
OperandConstraint.h:28
onert::ir::OperandIndexSequence
Definition
OperandIndexSequence.h:35
onert::ir::Operation
Definition
Operation.h:32
onert::ir::operation::Pack::Pack
Pack(const OperandIndexSequence &inputs, const OperandIndexSequence &outputs, const Param ¶m)
Definition
Pack.cc:22
onert::ir::operation::Pack::accept
void accept(OperationVisitor &v) const override
Definition
Pack.cc:21
onert::ir::operation
Definition
AddN.h:23
Pack.h
onert::ir::OperationVisitor
Definition
OperationVisitor.h:26
onert::ir::operation::Pack::Param
Definition
Pack.h:27
runtime
onert
core
src
ir
operation
Pack.cc
Generated by
1.9.8