ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Dump.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 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 __DUMP_H__
18
#define __DUMP_H__
19
20
#include <mio/circle/schema_generated.h>
21
22
#include <ostream>
23
24
namespace
cirops
25
{
26
27
struct
DumpOption
28
{
29
bool
names
=
false
;
30
bool
codes
=
false
;
31
bool
all_graphs
=
false
;
32
};
33
34
class
DumpOperators
35
{
36
public
:
37
DumpOperators
() =
default
;
38
39
public
:
40
void
run
(std::ostream &os,
const
circle::Model *model,
const
DumpOption
&option);
41
};
42
43
}
// namespace cirops
44
45
#endif
// __DUMP_H__
cirops::DumpOperators
Definition
Dump.h:35
cirops::DumpOperators::run
void run(std::ostream &os, const circle::Model *model, const DumpOption &option)
Definition
Dump.cpp:70
cirops::DumpOperators::DumpOperators
DumpOperators()=default
cirops
Definition
Dump.cpp:68
cirops::DumpOption
Definition
Dump.h:28
cirops::DumpOption::all_graphs
bool all_graphs
Definition
Dump.h:31
cirops::DumpOption::names
bool names
Definition
Dump.h:29
cirops::DumpOption::codes
bool codes
Definition
Dump.h:30
compiler
circle-operator
src
Dump.h
Generated by
1.9.8