Loading...
Searching...
No Matches
opennn::network_detail Namespace Reference

Functions

static void validate_source_indices (const vector< Index > &sources, Index layer_index, Index layers_count)
 
static void validate_source_arity (const Layer &layer, const vector< Index > &sources, Index layer_index)
 
static Index quantization_channel (const Index element_index, const Index row_length, const Index channels, const int axis)
 
static void finalize_int8_scales (vector< float > &absolute_maxima)
 
static void quantize_int8_host (const float *values, const Index count, const Index base_index, const Index row_length, const Index channels, const int axis, const float *scales, int8_t *out)
 

Function Documentation

◆ finalize_int8_scales()

static void opennn::network_detail::finalize_int8_scales ( vector< float > & absolute_maxima)
inlinestatic

◆ quantization_channel()

static Index opennn::network_detail::quantization_channel ( const Index element_index,
const Index row_length,
const Index channels,
const int axis )
inlinestatic

◆ quantize_int8_host()

static void opennn::network_detail::quantize_int8_host ( const float * values,
const Index count,
const Index base_index,
const Index row_length,
const Index channels,
const int axis,
const float * scales,
int8_t * out )
inlinestatic

◆ validate_source_arity()

static void opennn::network_detail::validate_source_arity ( const Layer & layer,
const vector< Index > & sources,
Index layer_index )
inlinestatic

◆ validate_source_indices()

static void opennn::network_detail::validate_source_indices ( const vector< Index > & sources,
Index layer_index,
Index layers_count )
inlinestatic