ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Padding.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 __OP_PADDING_H__
18#define __OP_PADDING_H__
19
20#include <coco/IR/Padding2D.h>
22
23#include <schema_generated.h>
24
25using namespace nncc::core::ADT;
26
27namespace tflimport
28{
29
30coco::Padding2D pool2D_padding(const tflite::Pool2DOptions *options, const tensor::Shape &ifm_shape,
31 const int filter_w, const int filter_h);
32
33coco::Padding2D conv2D_padding(const tflite::Conv2DOptions *options, const tensor::Shape &ifm_shape,
34 const tensor::Shape &kernel_shape);
35
36coco::Padding2D depthwiseConv2D_padding(const tflite::DepthwiseConv2DOptions *options,
37 const tensor::Shape &ifm_shape,
38 const tensor::Shape &kernel_shape);
39
40} // namespace tflimport
41
42#endif // __OP_PADDING_H__
coco::Padding2D depthwiseConv2D_padding(const tflite::DepthwiseConv2DOptions *options, const tensor::Shape &ifm_shape, const tensor::Shape &kernel_shape)
Definition Padding.cpp:96
coco::Padding2D pool2D_padding(const tflite::Pool2DOptions *options, const tensor::Shape &ifm_shape, const int filter_w, const int filter_h)
Definition Padding.cpp:81
coco::Padding2D conv2D_padding(const tflite::Conv2DOptions *options, const tensor::Shape &ifm_shape, const tensor::Shape &kernel_shape)
Definition Padding.cpp:88