1 /* ///////////////////////////////////////////////////////////////////////
2 * File: null_converter.h
7 * Brief: The null_converter class
10 * Copyright (c) 2008-2020, Waruqi All rights reserved.
11 * //////////////////////////////////////////////////////////////////// */
13 #ifndef EXTL_INTELLIGENCE_ANN_NULL_CONVERTER_H
14 #define EXTL_INTELLIGENCE_ANN_NULL_CONVERTER_H
16 /*!\file null_converter.h
17 * \brief null_converter class
20 /* ///////////////////////////////////////////////////////////////////////
23 #if !defined(EXTL_INTELLIGENCE_ANN_NETWORK_SUPPORT)
24 # error null_converter.h is not supported by the current compiler.
27 /* ///////////////////////////////////////////////////////////////////////
32 /* ///////////////////////////////////////////////////////////////////////
33 * ::extl::intelligence namespace
35 EXTL_INTELLIGENCE_BEGIN_WHOLE_NAMESPACE
38 /*!brief null_converter
40 * \param InN the input demension
41 * \param OutN the output demension
43 * \ingroup extl_group_intelligence
45 template< e_size_t InN
53 typedef null_converter class_type
;
54 typedef e_size_t size_type
;
55 typedef e_bool_t bool_type
;
56 typedef e_size_t index_type
;
57 typedef e_float_t float_type
;
58 typedef typename_type_k vvector_selector
<float_type
>::vvector_type vector_type
;
59 typedef vector_type floats_type
;
60 typedef typename_type_k sample_selector
<InN
, OutN
>::float_sample_type sample_type
;
61 typedef typename_type_k buffer_selector
<sample_type
>::large_buffer_type samples_type
;
67 void convert_input(samples_type
& /*sps*/) {}
68 void convert_input(sample_type
& /*sp*/) {}
69 void restore_input(sample_type
& /*sp*/) {}
74 /* ///////////////////////////////////////////////////////////////////////
75 * ::extl::intelligence namespace
77 EXTL_INTELLIGENCE_END_WHOLE_NAMESPACE
79 /* //////////////////////////////////////////////////////////////////// */
80 #endif /* EXTL_INTELLIGENCE_ANN_NULL_CONVERTER_H */
81 /* //////////////////////////////////////////////////////////////////// */