ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Padding.h File Reference
#include "Shape.h"
#include "InternalType.h"
#include <cstdint>
#include <string>

Go to the source code of this file.

Data Structures

struct  onert::ir::ExplicitPadding
 
struct  onert::ir::Padding
 

Namespaces

namespace  onert
 
namespace  onert::ir
 

Enumerations

enum class  onert::ir::PaddingType { onert::ir::EXPLICIT = 0 , onert::ir::SAME = 1 , onert::ir::VALID = 2 }
 

Functions

std::string onert::ir::to_string (const PaddingType type)
 Converts a internal padding type to const char*.
 
const ExplicitPadding onert::ir::calculatePadding (const Padding &padding, const FeatureShape &ifm_shape, const FeatureShape &ofm_shape, const Stride &stride, uint32_t kw, uint32_t kh, uint32_t dwf=1, uint32_t dhf=1)