CMS 3D CMS Logo

List of all members | Public Types | Public Attributes | Static Public Attributes
nnet::dense_config Struct Reference

#include <nnet_dense.h>

Inheritance diagram for nnet::dense_config:
config11 config14 config17 config2 config20 config5 config8

Public Types

typedef float accum_t
 
typedef float bias_t
 
template<class x_T , class y_T >
using product = nnet::product::mult< x_T, y_T >
 
typedef float weight_t
 

Public Attributes

int io_type = io_parallel
 
int n_zeros = 0
 
int reuse_factor = 1
 
int strategy = latency
 

Static Public Attributes

static const unsigned n_in = 10
 
static const unsigned n_out = 10
 
static const bool store_weights_in_bram = false
 

Detailed Description

Definition at line 10 of file nnet_dense.h.

Member Typedef Documentation

◆ accum_t

Definition at line 14 of file nnet_dense.h.

◆ bias_t

Definition at line 12 of file nnet_dense.h.

◆ product

template<class x_T , class y_T >
using nnet::dense_config::product = nnet::product::mult<x_T, y_T>

Definition at line 29 of file nnet_dense.h.

◆ weight_t

Definition at line 13 of file nnet_dense.h.

Member Data Documentation

◆ io_type

int nnet::dense_config::io_type = io_parallel

Definition at line 21 of file nnet_dense.h.

◆ n_in

const unsigned nnet::dense_config::n_in = 10
static

Definition at line 17 of file nnet_dense.h.

◆ n_out

const unsigned nnet::dense_config::n_out = 10
static

Definition at line 18 of file nnet_dense.h.

◆ n_zeros

int nnet::dense_config::n_zeros = 0

Definition at line 25 of file nnet_dense.h.

◆ reuse_factor

int nnet::dense_config::reuse_factor = 1

Definition at line 23 of file nnet_dense.h.

◆ store_weights_in_bram

const bool nnet::dense_config::store_weights_in_bram = false
static

Definition at line 24 of file nnet_dense.h.

◆ strategy

int nnet::dense_config::strategy = latency

Definition at line 22 of file nnet_dense.h.