ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Embedder.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 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 __MINMAX_EMBEDDER_EMBEDDER_H__
18
#define __MINMAX_EMBEDDER_EMBEDDER_H__
19
20
#include <string>
21
22
namespace
minmax_embedder
23
{
24
25
struct
EmbedderOptions
26
{
27
float
min_percentile
= 0.0f;
// dummy initial value to make SE tool happy
28
float
max_percentile
= 0.0f;
// dummy initial value To make SE tool happy
29
};
30
31
class
Embedder
32
{
33
public
:
34
void
embed
(
const
std::string &output_path,
const
std::string &input_path,
35
const
std::string &minmax_path,
const
EmbedderOptions
&);
36
};
37
}
// namespace minmax_embedder
38
39
#endif
// __MINMAX_EMBEDDER_EMBEDDER_H__
minmax_embedder::Embedder
Definition
Embedder.h:32
minmax_embedder::Embedder::embed
void embed(const std::string &output_path, const std::string &input_path, const std::string &minmax_path, const EmbedderOptions &)
Definition
Embedder.cpp:77
minmax_embedder
Definition
Embedder.h:23
minmax_embedder::EmbedderOptions
Definition
Embedder.h:26
minmax_embedder::EmbedderOptions::min_percentile
float min_percentile
Definition
Embedder.h:27
minmax_embedder::EmbedderOptions::max_percentile
float max_percentile
Definition
Embedder.h:28
compiler
minmax-embedder
include
minmax-embedder
Embedder.h
Generated by
1.9.8