ONE - On-device Neural Engine
Loading...
Searching...
No Matches
mir::PadOpAttributes Struct Reference

#include <Attributes.h>

Public Member Functions

 PadOpAttributes ()
 
 PadOpAttributes (unsigned dims)
 

Data Fields

std::vector< std::int32_t > padding_before
 
std::vector< std::int32_t > padding_after
 
float padding_value
 

Detailed Description

Definition at line 72 of file Attributes.h.

Constructor & Destructor Documentation

◆ PadOpAttributes() [1/2]

mir::PadOpAttributes::PadOpAttributes ( )
inline

Definition at line 74 of file Attributes.h.

74: padding_value(0.0) {}

◆ PadOpAttributes() [2/2]

mir::PadOpAttributes::PadOpAttributes ( unsigned  dims)
inline

Definition at line 75 of file Attributes.h.

75: padding_before(dims), padding_after(dims), padding_value(0.0) {}
std::vector< std::int32_t > padding_after
Definition Attributes.h:78
std::vector< std::int32_t > padding_before
Definition Attributes.h:77

Field Documentation

◆ padding_after

std::vector<std::int32_t> mir::PadOpAttributes::padding_after

◆ padding_before

std::vector<std::int32_t> mir::PadOpAttributes::padding_before

◆ padding_value

float mir::PadOpAttributes::padding_value

Definition at line 79 of file Attributes.h.

Referenced by mir_onnx::convertPadAttrName(), and mir::ops::PadOp::getPaddingValue().


The documentation for this struct was generated from the following file: