ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnfw::cker::ConvHybridTempArena Struct Reference

#include <Conv.h>

Public Member Functions

 ConvHybridTempArena (int batch_size, int input_size)
 

Data Fields

std::vector< int8_t > input_quantized
 
std::vector< float > input_scaling_factors
 
std::vector< int32_t > input_offsets
 

Detailed Description

Definition at line 200 of file Conv.h.

Constructor & Destructor Documentation

◆ ConvHybridTempArena()

nnfw::cker::ConvHybridTempArena::ConvHybridTempArena ( int  batch_size,
int  input_size 
)
inline

Definition at line 202 of file Conv.h.

203 {
204 input_quantized.resize(input_size);
205 // TODO: Optimize the case of batch_size = 1
206 input_scaling_factors.resize(batch_size);
207 input_offsets.resize(batch_size);
208 }
std::vector< int8_t > input_quantized
Definition Conv.h:209
std::vector< int32_t > input_offsets
Definition Conv.h:211
std::vector< float > input_scaling_factors
Definition Conv.h:210

References input_offsets, input_quantized, and input_scaling_factors.

Field Documentation

◆ input_offsets

std::vector<int32_t> nnfw::cker::ConvHybridTempArena::input_offsets

Definition at line 211 of file Conv.h.

Referenced by ConvHybridTempArena().

◆ input_quantized

std::vector<int8_t> nnfw::cker::ConvHybridTempArena::input_quantized

Definition at line 209 of file Conv.h.

Referenced by ConvHybridTempArena().

◆ input_scaling_factors

std::vector<float> nnfw::cker::ConvHybridTempArena::input_scaling_factors

Definition at line 210 of file Conv.h.

Referenced by ConvHybridTempArena().


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