ONE - On-device Neural Engine
Loading...
Searching...
No Matches
ZerosLike.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 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
#include "
OMStatus.h
"
18
19
#include "
core/OMUtils.h
"
20
#include "
import/OMKernelConfigureBuilder.h
"
21
#include "
execute/OMRuntimeKernel.h
"
22
#include "
import/helpers/OMConfigureSISOKernel.h
"
23
24
using namespace
onert_micro
;
25
using namespace
onert_micro::core
;
26
27
namespace
28
{
29
30
constexpr
uint32_t inputTensorIdx = 0;
31
constexpr
uint32_t
outputTensorIdx
= 0;
32
33
}
// namespace
34
35
namespace
onert_micro
36
{
37
namespace
import
38
{
39
40
OMStatus
configure_kernel_CircleZerosLike
(
const
OMConfigureArgs
&config_args)
41
{
42
return
import::helpers::configure_SISO_kernel
(config_args);
43
}
44
45
}
// namespace import
46
}
// namespace onert_micro
OMConfigureSISOKernel.h
OMKernelConfigureBuilder.h
OMRuntimeKernel.h
OMStatus.h
OMUtils.h
TensorIndexTISO::outputTensorIdx
constexpr uint32_t outputTensorIdx
Definition
ReadKernelDataCommon.cpp:28
onert_micro::core
Definition
OMMemoryManager.h:28
onert_micro::import::helpers::configure_SISO_kernel
OMStatus configure_SISO_kernel(const OMConfigureArgs &config_args)
Definition
OMConfigureSISOKernel.cpp:30
onert_micro::import::configure_kernel_CircleZerosLike
OMStatus configure_kernel_CircleZerosLike(const OMConfigureArgs &config_args)
Definition
ZerosLike.cpp:40
onert_micro
Definition
OMMemoryManager.h:26
onert_micro::OMStatus
OMStatus
Definition
OMStatus.h:24
onert_micro::import::OMConfigureArgs
Definition
OMConfigureArgs.h:32
onert-micro
onert-micro
src
import
kernels
ZerosLike.cpp
Generated by
1.9.8