Loading...
Searching...
No Matches
network_internal.h
Go to the documentation of this file.
16static inline void validate_source_indices(const vector<Index>& sources, Index layer_index, Index layers_count)
Definition layer.h:38
virtual Index get_sources_number() const noexcept
Definition layer.h:114
const string & get_name() const
Definition network_internal.h:14
static Index quantization_channel(const Index element_index, const Index row_length, const Index channels, const int axis)
Definition network_internal.h:35
static void validate_source_arity(const Layer &layer, const vector< Index > &sources, Index layer_index)
Definition network_internal.h:23
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)
Definition network_internal.h:49
static void validate_source_indices(const vector< Index > &sources, Index layer_index, Index layers_count)
Definition network_internal.h:16
static void finalize_int8_scales(vector< float > &absolute_maxima)
Definition network_internal.h:43
void scale(const TensorView &, const TensorView &, const TensorView &, const TensorView &, const TensorView &, const TensorView &, float, float, TensorView &)