onnx2versal
Loading...
Searching...
No Matches
QLinearConvChunkCGraph< QLINEARCONV0, QLINEARCONV1, QLINEARCONV2, CONCAT, CCHUNK, TT, TTPARAM, INP_H, INP_W, INP_W_PAD, OUT_W, OUT_W_PAD, STEP_H, STEP_W, B, C, M, KH, KW, GROUP, H0, H1, W0, W1 > Class Template Reference

Multiinstance graph that stores weights and biases, chunks BCHW by C dimension, maximum 8 chunks. More...

#include <graph_qlinearconv.h>

Inherits adf::graph.

Public Member Functions

void init_helper (TT x_zero)
 
 QLinearConvChunkCGraph (std::vector< TTPARAM > weights, std::vector< int32_t > bias, float x_scale, float w_scale, float y_scale, TT x_zero, TTPARAM w_zero, TT y_zero)
 
 QLinearConvChunkCGraph (std::vector< int32_t > bias, float x_scale, float w_scale, float y_scale, TT x_zero, TTPARAM w_zero, TT y_zero)
 

Public Attributes

adf::kernel k [LCNT]
 
std::vector< adf::port< adf::input > > pin
 
adf::port< adf::output > pout [1]
 

Static Public Attributes

static constexpr int LCNT = C / CCHUNK
 

Detailed Description

template<template< typename, typename, int, int, int, int, int, int, int, int, int, int, int, int > class QLINEARCONV0, template< typename, typename, int, int, int, int, int, int, int, int, int, int, int, int > class QLINEARCONV1, template< typename, typename, int, int, int, int, int, int, int, int, int, int, int, int > class QLINEARCONV2, template< typename, int, int, int, int > class CONCAT, int CCHUNK, typename TT, typename TTPARAM, int INP_H, int INP_W, int INP_W_PAD, int OUT_W, int OUT_W_PAD, int STEP_H, int STEP_W, int B, int C, int M, int KH, int KW, int GROUP, int H0 = 0, int H1 = 0, int W0 = 0, int W1 = 0>
class QLinearConvChunkCGraph< QLINEARCONV0, QLINEARCONV1, QLINEARCONV2, CONCAT, CCHUNK, TT, TTPARAM, INP_H, INP_W, INP_W_PAD, OUT_W, OUT_W_PAD, STEP_H, STEP_W, B, C, M, KH, KW, GROUP, H0, H1, W0, W1 >

<dl class=

<td class=

<td class=


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