Skip to content
Snippets Groups Projects
Commit 4baf7384 authored by Benjamin Halimi's avatar Benjamin Halimi
Browse files

Revert "add pybind for abs and mean"

This reverts commit 9329b770.
parent c776851c
No related branches found
No related tags found
2 merge requests!318[Upd] release verision 0.5.0,!303Add pybind for Abs and Mean
Showing
with 0 additions and 567 deletions
---
Start testing: Nov 29 13:22 UTC
----------------------------------------------------------
End testing: Nov 29 13:22 UTC
---
Start testing: Nov 29 13:22 UTC
----------------------------------------------------------
End testing: Nov 29 13:22 UTC
cmake_minimum_required(VERSION 3.18)
set(CXX_STANDARD 14)
file(STRINGS "${CMAKE_SOURCE_DIR}/project_name.txt" project_name)
file(STRINGS "${CMAKE_SOURCE_DIR}/version.txt" version)
project(${project_name}
VERSION ${version}
DESCRIPTION "Export of aidge"
LANGUAGES CXX)
message(STATUS "Project name: ${CMAKE_PROJECT_NAME}")
message(STATUS "Project version: ${version}")
# Note : project name is ${CMAKE_PROJECT_NAME} and python module name is also ${CMAKE_PROJECT_NAME}
set(module_name _${CMAKE_PROJECT_NAME}) # target name
##############################################
# Define options
option(PYBIND "python binding" ON)
option(STANDALONE "Build standalone executable" ON)
option(WERROR "Warning as error" OFF)
option(TEST "Enable tests" OFF)
option(COVERAGE "Enable coverage" OFF)
option(ENABLE_ASAN "Enable ASan (AddressSanitizer) for runtime analysis of memory use (over/underflow, memory leak, ...)" OFF)
##############################################
# Import utils CMakeLists
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
if(CMAKE_COMPILER_IS_GNUCXX AND COVERAGE)
Include(CodeCoverage)
endif()
##############################################
# FIND Dependencies
if(NOT $ENV{AIDGE_INSTALL} STREQUAL "")
set(CMAKE_INSTALL_PREFIX $ENV{AIDGE_INSTALL})
list(APPEND CMAKE_PREFIX_PATH $ENV{AIDGE_INSTALL})
message(WARNING "Env var AIDGE_INSTALL detected : $ENV{AIDGE_INSTALL}. Set CMAKE_INSTALL_PREFIX to AIDGE_INSTALL & added to CMAKE_PREFIX_PATH"
"\n\tCMAKE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX}"
"\n\tCMAKE_PREFIX_PATH = ${CMAKE_PREFIX_PATH}")
endif()
find_package(aidge_core REQUIRED)
# find_package(aidge_backend_cpu REQUIRED) # example if you want to add aidge_backend_cpu as dependency to your export
##############################################
# Create target and set properties
file(GLOB_RECURSE src_files "src/*.cpp")
file(GLOB_RECURSE inc_files "include/*.hpp")
add_library(${module_name} ${src_files} ${inc_files})
target_link_libraries(${module_name}
PUBLIC
_aidge_core # _ is added because we link the exported target and not the project
# _aidge_backend_cpu # example if you want to add aidge_backend_cpu as dependency to your export
)
#Set target properties
set_property(TARGET ${module_name} PROPERTY POSITION_INDEPENDENT_CODE ON)
# PYTHON BINDING
if (PYBIND)
include(PybindModuleCreation)
generate_python_binding(${CMAKE_PROJECT_NAME} ${module_name})
endif()
if( ${ENABLE_ASAN} )
message("Building ${module_name} with ASAN.")
set(SANITIZE_FLAGS -fsanitize=address -fno-omit-frame-pointer)
target_link_libraries(${module_name}
PUBLIC
-fsanitize=address
)
target_compile_options(${module_name}
PRIVATE
${SANITIZE_FLAGS}
)
endif()
target_include_directories(${module_name}
PUBLIC
$<INSTALL_INTERFACE:include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/src
)
target_compile_features(${module_name} PRIVATE cxx_std_14)
target_compile_options(${module_name} PRIVATE
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:GNU>>:
-Wall -Wextra -Wold-style-cast -Winline -pedantic -Werror=narrowing -Wshadow $<$<BOOL:${WERROR}>:-Werror>>)
target_compile_options(${module_name} PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:
/W4>)
if(CMAKE_COMPILER_IS_GNUCXX AND COVERAGE)
append_coverage_compiler_flags()
endif()
##############################################
# Installation instructions
include(GNUInstallDirs)
set(INSTALL_CONFIGDIR ${CMAKE_INSTALL_LIBDIR}/cmake/${CMAKE_PROJECT_NAME})
install(TARGETS ${module_name} EXPORT ${CMAKE_PROJECT_NAME}-targets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
#Export the targets to a script
install(EXPORT ${CMAKE_PROJECT_NAME}-targets
FILE "${CMAKE_PROJECT_NAME}-targets.cmake"
DESTINATION ${INSTALL_CONFIGDIR}
COMPONENT ${module_name}
)
#Create a ConfigVersion.cmake file
include(CMakePackageConfigHelpers)
write_basic_package_version_file(
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-config-version.cmake"
VERSION ${version}
COMPATIBILITY AnyNewerVersion
)
configure_package_config_file("${CMAKE_PROJECT_NAME}-config.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-config.cmake"
INSTALL_DESTINATION ${INSTALL_CONFIGDIR}
)
#Install the config, configversion and custom find modules
install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-config.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-config-version.cmake"
DESTINATION ${INSTALL_CONFIGDIR}
)
##############################################
## Exporting from the build tree
message(STATUS "Exporting created targets to use them in another build")
export(EXPORT ${CMAKE_PROJECT_NAME}-targets
FILE "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-targets.cmake")
if(STANDALONE)
if(AIDGE_REQUIRES_PYTHON AND NOT AIDGE_PYTHON_HAS_EMBED)
message(WARNING "Skipping compilation of standalone executable: missing Python embedded interpreter")
else()
add_executable(main main.cpp)
target_link_libraries(main PRIVATE ${module_name})
endif()
endif()
To compile:
> mkdir build && cd build
> cmake -DCMAKE_INSTALL_PREFIX:PATH=/data1/is156025/cm264821/anaconda3/envs/aidge_demo/lib/libAidge ..
> make all install
cmake_minimum_required(VERSION 3.18)
set(CXX_STANDARD 14)
file(STRINGS "${CMAKE_SOURCE_DIR}/project_name.txt" project_name)
file(STRINGS "${CMAKE_SOURCE_DIR}/version.txt" version)
project(${project_name}
VERSION ${version}
DESCRIPTION "Export of aidge"
LANGUAGES CXX)
message(STATUS "Project name: ${CMAKE_PROJECT_NAME}")
message(STATUS "Project version: ${version}")
# Note : project name is ${CMAKE_PROJECT_NAME} and python module name is also ${CMAKE_PROJECT_NAME}
set(module_name _${CMAKE_PROJECT_NAME}) # target name
##############################################
# Define options
option(PYBIND "python binding" ON)
option(STANDALONE "Build standalone executable" ON)
option(WERROR "Warning as error" OFF)
option(TEST "Enable tests" OFF)
option(COVERAGE "Enable coverage" OFF)
option(ENABLE_ASAN "Enable ASan (AddressSanitizer) for runtime analysis of memory use (over/underflow, memory leak, ...)" OFF)
##############################################
# Import utils CMakeLists
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
if(CMAKE_COMPILER_IS_GNUCXX AND COVERAGE)
Include(CodeCoverage)
endif()
##############################################
# FIND Dependencies
if(NOT $ENV{AIDGE_INSTALL} STREQUAL "")
set(CMAKE_INSTALL_PREFIX $ENV{AIDGE_INSTALL})
list(APPEND CMAKE_PREFIX_PATH $ENV{AIDGE_INSTALL})
message(WARNING "Env var AIDGE_INSTALL detected : $ENV{AIDGE_INSTALL}. Set CMAKE_INSTALL_PREFIX to AIDGE_INSTALL & added to CMAKE_PREFIX_PATH"
"\n\tCMAKE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX}"
"\n\tCMAKE_PREFIX_PATH = ${CMAKE_PREFIX_PATH}")
endif()
find_package(aidge_core REQUIRED)
# find_package(aidge_backend_cpu REQUIRED) # example if you want to add aidge_backend_cpu as dependency to your export
##############################################
# Create target and set properties
file(GLOB_RECURSE src_files "src/*.cpp")
file(GLOB_RECURSE inc_files "include/*.hpp")
add_library(${module_name} ${src_files} ${inc_files})
target_link_libraries(${module_name}
PUBLIC
_aidge_core # _ is added because we link the exported target and not the project
# _aidge_backend_cpu # example if you want to add aidge_backend_cpu as dependency to your export
)
#Set target properties
set_property(TARGET ${module_name} PROPERTY POSITION_INDEPENDENT_CODE ON)
# PYTHON BINDING
if (PYBIND)
include(PybindModuleCreation)
generate_python_binding(${CMAKE_PROJECT_NAME} ${module_name})
endif()
if( ${ENABLE_ASAN} )
message("Building ${module_name} with ASAN.")
set(SANITIZE_FLAGS -fsanitize=address -fno-omit-frame-pointer)
target_link_libraries(${module_name}
PUBLIC
-fsanitize=address
)
target_compile_options(${module_name}
PRIVATE
${SANITIZE_FLAGS}
)
endif()
target_include_directories(${module_name}
PUBLIC
$<INSTALL_INTERFACE:include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/src
)
target_compile_features(${module_name} PRIVATE cxx_std_14)
target_compile_options(${module_name} PRIVATE
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:GNU>>:
-Wall -Wextra -Wold-style-cast -Winline -pedantic -Werror=narrowing -Wshadow $<$<BOOL:${WERROR}>:-Werror>>)
target_compile_options(${module_name} PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:
/W4>)
if(CMAKE_COMPILER_IS_GNUCXX AND COVERAGE)
append_coverage_compiler_flags()
endif()
##############################################
# Installation instructions
include(GNUInstallDirs)
set(INSTALL_CONFIGDIR ${CMAKE_INSTALL_LIBDIR}/cmake/${CMAKE_PROJECT_NAME})
install(TARGETS ${module_name} EXPORT ${CMAKE_PROJECT_NAME}-targets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
#Export the targets to a script
install(EXPORT ${CMAKE_PROJECT_NAME}-targets
FILE "${CMAKE_PROJECT_NAME}-targets.cmake"
DESTINATION ${INSTALL_CONFIGDIR}
COMPONENT ${module_name}
)
#Create a ConfigVersion.cmake file
include(CMakePackageConfigHelpers)
write_basic_package_version_file(
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-config-version.cmake"
VERSION ${version}
COMPATIBILITY AnyNewerVersion
)
configure_package_config_file("${CMAKE_PROJECT_NAME}-config.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-config.cmake"
INSTALL_DESTINATION ${INSTALL_CONFIGDIR}
)
#Install the config, configversion and custom find modules
install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-config.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-config-version.cmake"
DESTINATION ${INSTALL_CONFIGDIR}
)
##############################################
## Exporting from the build tree
message(STATUS "Exporting created targets to use them in another build")
export(EXPORT ${CMAKE_PROJECT_NAME}-targets
FILE "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}-targets.cmake")
if(STANDALONE)
if(AIDGE_REQUIRES_PYTHON AND NOT AIDGE_PYTHON_HAS_EMBED)
message(WARNING "Skipping compilation of standalone executable: missing Python embedded interpreter")
else()
add_executable(main main.cpp)
target_link_libraries(main PRIVATE ${module_name})
endif()
endif()
To compile:
> mkdir build && cd build
> cmake -DCMAKE_INSTALL_PREFIX:PATH=/data1/is156025/cm264821/anaconda3/envs/aidge_demo/lib/libAidge ..
> make all install
function(generate_python_binding name target_to_bind)
find_package(Python COMPONENTS Interpreter Development.Module)
Include(FetchContent)
FetchContent_Declare(
PyBind11
GIT_REPOSITORY https://github.com/pybind/pybind11.git
GIT_TAG v2.10.4 # or a later release
)
FetchContent_MakeAvailable(PyBind11)
message(STATUS "Creating binding for module ${name}")
file(GLOB_RECURSE pybind_src_files "python_binding/*.cpp")
pybind11_add_module(${name} MODULE ${pybind_src_files} "NO_EXTRAS") # NO EXTRA recquired for pip install
target_include_directories(${name} PRIVATE "python_binding")
# Link target library to bind
target_link_libraries(${name} PRIVATE ${target_to_bind})
endfunction()
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(aidge_core)
include(${CMAKE_CURRENT_LIST_DIR}/aidge_backend_cpu-config-version.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/aidge_backend_cpu-targets.cmake)
#ifndef EXPORT_ATTRIBUTES_FC1_H
#define EXPORT_ATTRIBUTES_FC1_H
#define _FC1_IN_CHANNELS 64
#define _FC1_OUT_CHANNELS 32
#endif /* EXPORT_ATTRIBUTES_FC1_H */
#ifndef EXPORT_PARAMETERS_FC1_B_H
#define EXPORT_PARAMETERS_FC1_B_H
#include <aidge/data/Tensor.hpp>
#include <memory>
std::shared_ptr<Aidge::Tensor> FC1_2 = std::make_shared<Aidge::Tensor>(Aidge::Array1D<float, 32> {
{ 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000 }
});
#endif /* EXPORT_PARAMETERS_FC1_B_H */
#ifndef EXPORT_PARAMETERS_FC1_W_H
#define EXPORT_PARAMETERS_FC1_W_H
#include <aidge/data/Tensor.hpp>
#include <memory>
std::shared_ptr<Aidge::Tensor> FC1_1 = std::make_shared<Aidge::Tensor>(Aidge::Array2D<float, 32, 64> {
{
{ 2.212206, 1.163079, 0.774004, 0.483805, 1.043440, 0.299563, 1.183926, 0.153025, 1.891711, -1.168815, -1.234741, 1.558071, -1.771029, -0.545945, -0.451384, -2.355630, 0.579384, 0.541440, -1.856082, 2.678507, -1.976880, 1.254634, -0.208019, -0.548774, 0.244422, -0.681064, -0.037161, -0.135316, -0.487750, 0.377231, -0.022617, 0.410164, 0.574614, 0.571268, 1.466126, -2.757963, 0.686290, 1.076280, 0.354961, -0.614133, 1.073170, 1.830765, 0.120175, -1.146806, -0.971110, 0.053838, -0.775697, -2.507481, -0.788218, -0.591650, 0.741773, 0.858605, -1.473444, -0.227942, -1.073093, 0.201315, -1.042483, 0.350055, -1.327885, 0.536052, -1.474966, 1.519444, -0.524142, 1.904088},
{ 1.266256, -1.573443, 0.895064, -0.140079, -0.601595, 0.296701, 1.204056, 1.311195, -0.971219, 0.503590, -0.582562, -1.189445, 0.371708, -0.550214, 0.930007, -1.591876, -1.422575, -1.108195, -0.517620, 0.078720, 2.008832, -0.918563, 0.286308, -0.745715, 0.560459, -1.208086, 0.969760, 1.814021, -0.528537, -1.522743, -1.889090, -2.515245, 0.654791, -1.354933, -0.454813, -0.957484, 0.325108, -0.724856, -1.300234, 1.111964, 0.367934, -0.478272, 1.453426, -1.173949, 0.241542, -0.792185, 0.478980, 0.932104, 0.968851, -3.155774, -1.021824, 2.193530, -0.068128, -0.538592, -0.318683, -0.861133, -0.176343, -1.881519, 0.356553, -0.720571, 0.744192, -0.356016, 0.778742, -0.159640},
{ 0.608782, 1.797448, 1.074176, 0.195949, 0.066428, -1.737640, 0.848699, 0.047347, -0.800380, 0.145809, -0.168822, 0.326049, 0.936328, 0.457878, 0.357444, -0.894258, 0.779328, 0.493839, -1.010307, -0.904343, -0.391573, -1.214079, 1.316619, 2.156406, -0.432926, 1.093822, 0.715360, 1.827143, 0.925416, -1.044670, -0.904951, 1.006219, -0.074684, 0.517420, 0.822540, -0.806932, -1.878511, 1.376901, 0.885884, 0.205885, 1.911872, 0.994352, 0.333423, -0.235806, 0.118838, 0.298818, -1.919890, -1.998208, -0.675585, 0.351135, 1.007749, -0.764474, -0.353912, 1.259435, 1.632392, -0.962974, -0.333548, 0.508051, -1.737841, 0.756173, 0.773738, 1.683930, 0.891265, 1.257365},
{ 3.290453, 0.131232, -1.197623, 1.640302, 1.893887, -1.213801, -0.566927, 2.399971, -0.023922, -0.385091, 1.075666, -0.987804, -1.268808, 0.958589, -0.831414, -1.497647, 1.394570, 0.660516, 1.004347, -0.189036, -0.551724, -0.273026, -1.915356, 0.918154, 1.239096, 2.173063, -0.471864, 0.075200, 0.219959, 0.071856, -1.324687, 1.125620, -1.446752, -0.355964, -0.771692, -0.253765, 0.305448, -0.040472, -0.303667, 0.496598, 0.166871, 1.380103, -0.460419, 1.802712, -0.227340, 0.645719, -0.260015, 1.811526, 0.030870, -1.252964, -1.116601, 0.387312, 0.304548, -0.410552, -0.370345, 1.284537, -1.094192, 0.210010, -0.435837, -0.086664, -0.939733, 1.464221, -2.246507, -1.305814},
{ -0.343046, 0.934440, -0.407202, 0.538086, 0.508696, -0.160380, 0.915117, 0.841876, -0.491778, -1.005536, -1.556092, 3.132215, -0.157488, -0.435899, -0.526646, -0.492951, -0.178850, 1.437187, 0.431647, -0.318141, 0.467601, -0.162825, 0.172871, 0.683610, 0.761590, 1.610670, 0.000099, -1.264223, -0.514314, 0.138954, 1.719847, 0.667116, -0.114943, 0.214447, 1.561770, 0.993847, 1.111690, 0.108742, 1.493580, 0.535343, 0.536800, -1.861050, -1.325188, -0.468956, -0.647440, -0.676830, -0.552033, -0.615934, 0.100644, 0.642819, -0.331824, 1.659784, 0.494534, -0.010034, 0.719802, -1.086754, -0.329526, -0.195189, -0.517583, -2.790990, 0.723132, -0.357204, 1.441811, -1.498061},
{ 0.173715, -1.309633, 0.079681, -0.141415, -0.239062, 2.003672, 1.939710, -0.507194, 2.307158, 0.788397, 0.305586, 0.564596, -0.016464, 0.264668, -0.229135, -1.474782, 0.675856, 0.271192, -0.634547, -0.413979, 0.472989, 0.320269, 0.637677, -0.283788, 1.550799, -1.239665, -1.727076, 0.870026, 0.076169, 1.279255, -0.382890, 0.758394, -0.538186, -1.634862, 0.255247, 0.197426, 0.564027, -0.985715, -0.059292, 0.611965, -0.174257, 1.969163, 0.652647, -0.643047, 0.584285, 0.354684, -0.838576, -1.107516, -2.762548, 1.779932, -0.478304, -0.404031, 1.617414, -0.528613, 1.479488, -1.272791, -1.476098, -0.188575, -0.836532, -0.593289, 1.287740, 0.363338, 0.402366, 0.592534},
{ 0.345934, -0.756709, -1.787833, 0.139265, -0.178709, -0.202259, 0.986850, 1.046625, -0.821654, -2.317597, 1.188656, 0.228428, -0.517519, -0.555370, -0.211663, -0.224368, -1.070402, -0.034077, 1.336466, -0.868913, 0.772799, 0.830154, -0.368010, 0.224619, -0.138387, 0.197733, 0.176451, -0.294902, 1.683438, 0.379219, -0.551522, 0.102535, -1.031030, -1.005712, 0.770131, -1.125984, 0.037455, -0.325468, 0.960495, 0.490046, 0.979800, -1.050940, -1.244709, 0.337833, 0.020990, -0.738510, 2.649734, -0.473392, 0.269506, 0.952992, -1.138954, -0.654586, -0.053048, 0.546171, 0.444569, -0.314824, -0.011242, 0.653286, 0.116932, 0.239427, -0.066155, 1.430139, 1.428078, 0.893270},
{ -0.005348, 1.076221, 0.801042, -0.481205, -0.360837, 0.411937, 1.322597, 0.570394, 0.903369, -0.380902, 0.404875, -0.508008, 1.637640, -0.139692, -0.180168, -0.000948, -1.345533, 0.814092, -1.205097, -1.769323, -0.212703, -1.076019, -0.556150, 0.886167, -0.397926, -1.248311, -1.049718, 0.031322, -0.198826, -0.851717, 0.207144, 1.084022, -0.038660, 0.116903, -0.182566, 0.837475, -0.635792, 1.238106, -1.001928, -1.663429, -0.235781, -0.498405, 1.396894, -0.470803, -0.389693, -0.819836, 0.019702, -0.287629, -0.744428, 1.030755, -0.153096, -0.258136, 0.265379, -0.613886, 1.024098, 0.567591, -0.412133, -1.546639, 1.522788, -0.479909, 1.248974, 0.217390, -0.332779, 0.991879},
{ -0.483628, 0.272165, -0.921403, -0.867794, 0.253838, -1.017495, -0.035984, -0.680159, -0.116601, -1.917364, -0.293144, -1.680917, 1.482456, -2.643867, -0.589814, 1.864317, 0.810974, 0.449891, -0.523071, -1.701221, 1.129147, -0.414783, 0.039269, -1.340263, 0.165569, -0.458461, -0.978111, 0.656720, 0.531054, 0.426182, 0.701776, 1.073439, -0.749516, -0.560629, -0.634230, -0.186059, -0.122258, 0.021843, 0.543000, -0.314648, -0.946935, -0.333649, 0.596433, -0.647178, 0.790704, -0.074659, -0.043766, 1.429068, -0.058342, -0.809171, 1.030495, 0.050716, -0.116684, -1.944978, -1.793352, 1.627739, -0.369663, 2.177690, 1.651580, -2.036985, -1.240169, 0.036523, -1.150051, 0.116815},
{ 1.104999, 1.341058, 0.309679, -1.755930, -0.378678, -0.806254, -1.054984, -0.320765, -0.266736, -0.225193, 0.169121, 0.865690, -0.885389, 0.095123, 0.870764, -0.091391, 1.401193, -0.193103, 0.621627, 0.369497, -0.816600, -0.202823, -0.159167, 0.872668, -0.273115, 1.938011, 0.684697, 1.704309, 1.204039, -0.959246, 1.359703, 0.799502, 0.776908, -0.756584, -0.640936, 0.990894, 0.256858, -3.137142, 0.545601, 0.109409, 0.181050, 1.120293, -0.914028, -0.097133, 0.133803, 0.496900, 1.070259, 0.223329, -0.368285, 0.345049, 1.432678, 1.382178, 0.558631, -0.126281, -1.479764, -2.136274, 0.879013, -0.931591, 0.460165, 0.663047, -0.782686, -2.017072, -1.219782, -1.615018},
{ 0.023152, -0.351595, 0.384548, -0.350487, 0.861079, -2.343885, 0.206722, 0.492284, 0.227113, -0.832889, -0.669958, -0.069160, -0.609277, -0.255370, -0.752728, -0.765413, 1.094080, 0.368862, 0.024828, -0.518220, 0.009554, -0.353964, 1.897386, -0.901690, 0.077136, -0.747170, 0.407625, -1.418082, 0.823818, -0.750032, -0.318462, -0.949275, -0.005721, -0.311060, -1.375086, 0.638032, -0.070481, 0.265967, -1.677426, -0.803207, 0.331928, -0.337461, 1.145064, 0.517522, 2.248859, -0.155701, -0.185320, -0.430223, 0.633950, 0.594881, -0.373053, -0.183769, 0.781241, -1.100458, -1.127900, 1.536747, 0.694964, -1.317671, 0.552416, 0.214635, 1.172117, 0.057319, -0.083945, -2.744316},
{ -2.083668, 1.579024, 0.846874, -0.559092, 1.025974, 0.889658, -1.337327, -2.154229, 0.283269, -0.084246, -0.448027, 1.076064, -0.171827, 0.712631, -0.291771, -1.532148, 0.525627, -0.182083, -0.584263, 0.758026, -0.011926, 0.048968, -0.683809, -0.367121, -0.808110, -0.745193, -0.025946, -0.974672, -0.667272, -1.253634, -0.933169, 1.543063, -0.558194, 0.333470, 0.300683, 0.875321, -0.650058, -0.402874, -1.479110, -1.422508, -1.490082, -1.066710, 0.818719, 1.130872, 0.726068, -0.644154, 0.015556, -1.297712, -1.807793, -0.449898, 0.678534, -0.343751, -0.438977, 1.005177, 0.789181, -0.868195, 2.963583, 0.127910, 0.762864, 2.106842, 0.059183, 1.106624, -0.173846, 0.506085},
{ -0.803235, 0.456489, 1.792648, -0.413096, 0.174623, -0.670578, 1.004736, -1.211046, -0.177172, -1.173558, 1.704121, -0.717132, -0.315196, -0.955144, -0.844640, 0.219873, 0.439474, -0.111900, 0.382651, 0.037409, -0.715340, -0.458230, -1.518173, 0.580286, -0.180067, 0.251145, 1.541854, -1.799514, 0.415876, 0.045524, -0.935430, -0.941019, 0.476378, -0.045153, -0.346679, -0.071810, 0.468796, -0.303942, 1.868755, 0.052552, -1.115326, -0.951675, 0.823079, -0.264655, -0.460295, 0.024275, 0.681858, 1.360035, -1.231762, -1.203111, -0.181563, 0.198488, -0.813774, -1.178844, 0.972454, -0.134574, 0.030472, -0.967580, 0.152757, -2.177683, -0.678582, 1.439619, 0.329668, 1.977801},
{ 0.547752, 0.150742, 0.597613, 0.320251, 0.629068, -1.048041, 1.226918, -1.397015, 0.530945, 1.934914, -0.360577, 0.601554, -1.164239, 0.144575, 0.725861, -0.442685, 0.083200, -0.289393, -1.016526, 1.067162, -0.018115, -0.224101, -0.241866, -0.064766, 2.522637, 1.326687, -0.214645, 0.652540, 0.005862, -0.888118, -1.111310, -0.301777, -0.060108, -0.383830, 0.692486, -0.268334, 0.663172, -1.008340, -1.682795, 0.617490, 0.376519, 1.881652, 1.198976, 0.919806, -0.134369, 0.542711, -0.636402, 2.075232, 0.367750, 0.078205, 1.175514, 0.312489, -0.545571, 1.806641, 0.572128, 0.969595, 2.196302, 0.144951, -0.069890, -0.024643, 0.096254, -0.913089, 0.207929, -0.024540},
{ -2.364928, 0.403653, 0.957075, 0.605313, -0.084031, -0.881650, 0.617897, -0.514700, 1.021071, -2.341326, 0.867535, 0.276200, -1.536776, 1.063557, -0.265884, -1.019689, 0.034769, 0.374245, 0.308205, 0.941602, -2.383936, 0.053763, 0.080351, 0.805516, -1.034883, 0.112969, 0.225962, 0.529344, -0.533202, 0.826293, -0.530990, -0.941042, -1.409687, -0.616595, 0.083008, 0.597792, 0.564483, -0.277788, 0.275536, -1.167859, 0.234086, 0.923334, -1.550176, -0.317221, 0.167047, 0.842336, -0.197037, -0.189047, -1.258022, 1.233136, 2.043196, -0.972316, -0.211159, -0.644789, 0.550668, 0.263230, 0.510620, -0.340782, -0.076202, -0.532805, 0.028492, -0.711909, -0.041329, -0.716095},
{ -0.438745, 1.613258, 1.203239, 0.964917, 2.008562, 2.526586, -1.076117, -1.172786, 1.202410, -1.702984, 2.141656, -0.421657, 0.506291, -1.005197, -1.210642, -1.006717, -1.024502, 0.616641, -1.584712, 0.891012, -2.477347, -0.572187, 0.864046, -1.402610, 0.412339, -0.276108, -2.752150, 0.592655, 0.632535, -0.195088, 2.281385, -1.077261, -0.790374, -1.883068, 0.079064, 0.400938, -0.359422, -0.905535, 0.275971, -0.708639, 1.268833, -1.304649, 1.220814, 0.345417, -1.035277, 1.694809, -0.453738, -0.100811, -0.711486, -2.032043, 0.247771, 0.125351, 1.414129, 1.130891, -0.594405, 0.797592, 0.053162, 0.395181, -0.421787, 0.288705, -1.071319, 0.932462, -0.609468, -0.239886},
{ 0.426226, -0.566084, -0.555236, -0.395055, -1.607937, -0.454888, 1.086999, 0.064433, -0.630807, 0.537331, -0.079178, 0.544384, -0.345341, -0.755680, 0.194209, -0.915100, 0.664959, 0.136650, 0.145284, 0.658129, 1.353991, -0.482921, -1.267343, -0.525734, 0.427054, -0.567577, -0.977804, 0.581563, 0.731378, 0.287522, 2.394391, -0.044662, -1.842992, 1.271125, -0.347839, -0.222826, -0.068077, -0.131304, -2.144952, -2.350498, -0.053892, -1.022586, 0.598608, -3.063631, -0.889890, -0.169715, -0.043919, -1.031522, -0.314142, -1.721556, -1.423945, -0.517471, -0.617123, -0.140159, -0.793929, 0.361729, 0.918396, -0.399743, -0.736005, 1.568120, -1.300957, 1.526744, -0.297900, -0.062842},
{ -1.966952, -1.071676, 1.570217, 1.112780, 0.185776, -0.637180, 1.313317, 1.172860, -0.915400, 1.177792, -1.942183, 0.390201, 1.388212, -0.477988, -1.579742, -0.683059, 1.172021, -0.980434, 0.059954, -0.457660, -0.634426, 1.500102, 0.078013, -0.986448, -0.762938, 0.195547, 1.015367, 1.245432, -0.282828, 0.081046, 0.307498, -0.669810, 0.721569, 0.057625, 0.501820, -0.104848, 1.437235, 0.117299, -0.523084, -1.118009, 1.560399, 0.104631, 0.489168, 0.760339, 1.449355, -1.377321, -0.715611, -1.029579, 0.073359, -0.825450, -0.229307, -0.421830, -0.666367, -0.440156, 0.023840, -0.751700, -0.361373, 0.986500, 0.851569, 0.123599, 0.390027, 0.277061, 0.940906, -0.103239},
{ -0.445279, -0.919782, 0.639714, -0.902529, -1.874779, -1.719761, -1.893759, 0.269624, -0.578221, -0.202651, -0.392257, 1.412725, -0.629082, 1.413975, -0.064950, -0.204246, 0.975600, -0.282429, 0.352274, 0.795323, -0.966890, 0.600321, 0.459449, 1.495051, -0.693799, -2.130963, 2.241615, 0.016742, -1.380529, -0.693764, 0.788271, -2.084727, -0.605345, -0.393199, -1.431592, -0.019263, 0.154902, 2.003049, -0.505429, -0.279594, 1.178694, 0.081671, -0.253501, -0.928567, -0.470637, -0.599760, 0.105334, -0.558767, 0.306641, -1.247424, -1.136135, 0.388699, 0.240216, -0.539604, 0.748712, 1.514203, -0.053900, 0.146477, 1.415987, 0.035719, 0.852351, -0.505780, -2.203605, 1.287532},
{ -0.138672, 0.707916, 0.732445, 0.034828, 0.916650, -0.960419, -1.104703, -1.910655, 0.738577, -1.784924, 0.377324, 0.942214, -2.147115, -0.657372, 1.937143, -0.640029, 0.813896, -1.856751, 0.293933, 0.407355, 0.828903, -0.258431, 0.651304, 1.024936, -1.113730, 0.727588, 0.244997, -1.608019, 0.678481, -0.704592, 0.512401, -0.693952, 0.200313, 0.382440, -0.155662, -1.873614, -1.368903, -0.209850, -1.454814, -0.029855, 0.192369, 1.508715, -0.212503, 1.176330, -1.738381, -0.637968, 0.576972, 0.808788, 0.434982, -0.529857, -1.056989, -0.818170, -1.858517, -1.504275, -1.812055, 1.817686, -0.827064, -0.970820, 0.661065, 0.146447, 0.291060, -0.408877, 0.068819, 0.295079},
{ 0.663102, -0.166278, 0.770570, -1.142846, -0.806847, -0.730912, -0.447671, -0.015643, 0.619293, 0.202428, 1.665242, -0.790555, 1.475059, -0.881476, 0.390759, 1.258389, 0.324598, 1.822245, -0.058715, 0.600523, 1.136708, -1.679807, 0.288505, 0.744363, -0.611639, 1.300585, 1.380471, -1.169925, -0.777400, 2.193714, -0.475082, -0.242079, -0.336258, 0.471824, -0.658170, -1.063402, 0.417935, -1.189927, -1.703003, -1.247581, 0.862522, 0.934985, 1.998402, 0.301988, -1.167236, -0.040485, -0.692792, -0.118653, -0.085074, -0.157554, -0.597173, -1.148901, 0.479436, -1.334729, 0.435822, 0.728494, -0.447077, 0.395057, -0.449488, -0.970525, 1.506991, 0.701021, 0.331930, -0.781135},
{ 0.695741, 0.447304, 0.814847, 2.051350, -0.694026, -0.032321, 0.024414, -0.642007, 1.006013, -0.816746, -1.214119, -2.295536, 0.402007, -0.404793, 0.312364, -0.727692, 0.190903, 1.319342, 2.484523, -0.751330, 0.517379, 1.607649, -1.566784, -1.809135, 1.457683, -0.908496, -2.220334, 0.243166, 0.595011, 0.379217, 1.088163, 1.147452, 0.633369, 0.346038, 0.347236, -0.325225, 1.888308, -3.072945, 1.297680, -1.506335, 0.205380, 0.664307, 0.979495, -1.097883, -0.745897, -0.303797, -0.563891, 2.451149, 0.088773, 0.480402, -0.445841, -0.637341, -0.792031, -0.643933, 0.330410, 0.895335, 1.612401, -0.050137, -0.272140, 0.770629, 0.586540, -0.882999, 2.427387, 0.907571},
{ 1.020693, -0.572768, -1.022579, -0.633937, 1.401881, -0.251258, -1.633224, -0.467908, -1.371026, -0.969493, -0.825524, 0.605472, 0.183619, -1.847969, -1.878521, 1.177194, -0.710708, 0.769348, 0.636449, 1.019374, 1.298586, -1.192946, 0.573427, 0.357284, -0.348353, 0.929739, -0.583619, -0.075304, -2.041761, -0.158822, -0.179691, -3.007082, -1.240545, 0.256757, -0.732539, 0.213922, -3.068860, -0.118184, 1.317333, 0.639406, -1.638411, -0.856709, 0.936945, -0.200855, 0.592933, 0.934265, -0.506393, -2.097188, -0.686307, -0.841321, 0.113067, -0.659559, -0.225567, 0.278005, 0.185259, 0.321431, 1.222981, -1.271038, 0.553208, -0.798184, 0.259451, 0.417953, -0.004145, -0.694951},
{ -0.227405, -0.808163, 0.415147, 0.657638, 1.917061, 1.630171, -1.438121, -0.981062, 0.436875, 1.518751, 0.353086, -0.147144, 0.741269, 1.950936, 2.739364, 0.733956, -0.655084, -0.021943, 2.113906, 1.009407, 0.544371, 0.768170, -0.927640, 0.817491, 0.744725, 0.843117, -0.691860, -0.747689, 0.265487, 0.741109, -0.117990, -0.336553, 1.219656, -0.894997, 0.185234, -0.876471, 1.620419, -0.154121, -0.562478, 0.724263, 0.392547, -0.183256, -0.952905, -0.482131, 0.056012, 1.362304, -0.669158, -1.197868, 1.035019, 0.921444, 0.293030, -0.064290, 0.039056, -1.971230, -0.748615, 1.521501, -1.063615, -1.614336, 0.859108, 0.664434, 0.582681, 0.891293, -0.682233, -1.063711},
{ 1.022504, -1.064391, -0.238194, -1.287860, -1.136086, -0.599646, 2.083999, -0.251891, 1.635609, 0.142861, 0.311812, 1.059390, -0.011250, 0.999566, -0.376215, -0.275687, 1.269079, 0.547754, -0.021728, -1.003898, 1.155573, -0.133892, -0.820203, -0.399042, 0.011735, -0.004630, -1.624290, -3.214955, -0.302276, 0.162449, -0.165589, -0.324434, -0.858639, 1.214711, -0.088071, 0.692165, -2.298264, 0.109115, -0.152067, -1.400125, -0.798508, 0.065675, 0.840315, -0.535997, 0.989161, -0.666881, 0.422332, 2.565203, -0.348443, 0.292504, 0.955866, 1.009752, 2.071980, 1.349440, 0.222731, 0.470191, -2.257708, -0.124012, 0.316573, 0.914732, -0.237629, 1.217734, -0.413807, -1.373763},
{ -0.449355, 1.434391, -0.433576, -0.174979, 0.556502, -0.430827, 1.936127, 0.067958, -0.865320, 0.760247, -0.580725, 0.018868, -0.033391, 0.721388, 0.462043, -1.425273, 0.678470, 0.302006, 0.756002, 0.167077, 0.766390, -0.043001, 0.394925, 1.800999, 0.090170, -0.554982, -0.095026, 0.112222, -1.022792, 0.053468, -0.428305, -0.314164, 1.135005, 2.346780, 0.916245, -0.659896, -0.498403, -0.046144, -0.553811, -0.108004, 0.122168, -0.002586, 0.768014, -0.692886, -1.433461, 0.473015, -0.064335, 1.647390, 0.779012, -0.843045, 1.077922, 0.382245, -1.250200, 0.643778, 0.443442, 0.904600, 1.065371, -0.027124, -0.566289, -0.665816, -0.354307, -0.877381, -1.659182, -0.191498},
{ 0.162333, 0.498699, -0.395470, 1.743060, -1.321712, -0.936546, 0.274050, -0.159812, -0.355672, -1.676516, -0.600875, 0.034010, 0.114026, -1.140778, -0.492318, -1.908774, -1.484320, 1.081611, -0.934511, 1.064218, -1.353714, -0.314849, -0.105485, 2.178031, -0.409103, 0.933178, -2.048981, -0.298461, -2.592589, -0.488420, 0.835982, -1.151600, -0.189469, 1.288512, -0.699727, -0.624615, 0.460098, -0.202874, -0.346232, 0.267220, -0.158052, 1.825733, -0.869135, 0.123580, -0.991966, 0.750955, 1.741264, -0.764096, 0.010258, -0.192117, 0.027155, -0.265093, 1.277057, 0.043134, 0.090176, 0.277584, 0.372338, 0.948639, -0.836552, -0.589544, -0.745397, 0.382427, -0.232827, -0.892618},
{ 0.882999, -0.799134, 0.054087, 0.408222, 1.345659, 0.814261, -1.389691, 0.093555, -1.494835, -1.735067, -0.009094, 1.548697, -0.411162, -0.575812, 0.405427, 0.855615, 0.896117, 0.274727, -0.114478, -0.488888, 0.450323, 0.212904, -0.196283, 0.326608, -1.224662, 0.087978, 1.183714, -0.601534, -0.298352, -0.654938, 0.161118, 1.607924, -0.909086, 0.273687, -2.044743, 0.746246, -1.040757, -0.908652, -0.731929, -0.509273, 0.037672, 0.032804, 0.348324, 0.257188, 0.500905, 0.020275, 0.119230, -0.704439, -2.530083, -1.678277, -0.676852, -2.791788, 0.164539, -0.123641, -1.377383, -0.361288, -1.299663, -1.483092, 0.434668, -1.035801, 1.730346, -0.469573, 0.417228, 0.019251},
{ -0.072003, -0.198577, -0.569901, 0.935016, 0.314889, 0.034155, 0.430543, 0.898514, -0.164523, -0.214377, -0.653906, 0.201249, -1.524915, 0.701587, -0.324459, -0.917747, 1.476484, 0.469838, -0.381519, -1.311817, 0.720365, -0.310191, 1.025053, 1.889874, -0.966916, -0.871145, -0.383549, 1.698432, -0.956719, -1.682718, 1.309966, -0.491572, -0.018925, -1.528414, -1.133854, 1.203479, -1.144830, -0.353264, -0.932797, -0.802824, -1.524664, 0.034604, 1.323310, -0.947217, 0.987849, 0.756220, -0.057331, -0.199653, -1.039496, 0.408915, 0.663561, -1.235246, -0.877334, -1.213858, -0.555124, 0.169166, 0.415630, 0.262026, 1.884413, -1.458849, -0.292172, 0.790321, 1.437780, 0.489940},
{ 1.181251, -0.222410, -0.539658, 1.178497, -0.118368, 0.197939, -0.060905, -1.908541, -1.067447, -0.342585, 2.388675, -0.280412, 1.539183, 0.566500, 0.411963, 0.188143, 1.485968, -1.613623, 0.613969, -1.523564, 0.413067, -0.666758, -0.972755, 0.970277, 0.681646, 0.277529, 1.423990, -0.392149, 0.430833, -0.371182, 1.011777, -0.384506, -1.010383, 0.828187, 1.044202, 0.477430, 0.180531, 0.352829, -0.393196, 0.816648, 0.551559, 0.998243, 0.261241, 0.620633, 0.858043, -0.634724, 1.524376, -1.243713, 1.891966, 0.661525, 0.833298, 1.810750, 0.947274, -0.728384, -1.603718, -0.813418, 1.071318, -0.801694, -0.168650, 0.474758, 0.241127, 0.903248, 0.334180, 0.991895},
{ -1.314739, 0.998850, -0.519051, -2.067554, 1.896067, 0.501201, 0.556987, 0.641588, 0.272504, -0.742982, -0.470703, 1.240292, 1.259373, 0.565328, -0.720676, 0.004026, 0.600226, 0.090100, 0.011061, 0.369402, 0.011070, 0.233415, -0.282847, -0.903427, -0.816539, -0.871172, -2.226825, -1.740848, -0.339944, 0.215897, 0.323387, -0.254469, -0.515725, 0.073948, 0.563910, -0.653186, -0.306754, -0.546975, 1.372907, -0.970252, -0.487223, -0.078836, -1.081625, 1.588108, 1.202025, -2.122401, -0.237531, -0.685333, 0.173563, -0.576237, -0.297172, -1.762223, 0.460683, -1.041090, 0.097664, 0.414681, -0.378730, -0.441698, -0.569381, 1.072555, -1.684300, 0.737147, 0.341000, 0.049181},
{ -1.632741, 0.077021, -0.530017, -0.163073, -1.158130, 2.668592, -0.433849, 0.091581, 0.232981, -0.300411, 0.835452, -0.168550, 0.713216, 0.851907, -1.087314, 0.900005, -0.786708, -0.618744, 0.001694, -3.176547, 0.126415, 0.362694, 0.369459, 0.931487, -1.290275, -0.717392, -0.335578, 0.703348, 0.756063, 0.260056, 0.778826, -0.129166, 0.101717, -0.342590, -0.295437, 0.198471, -1.717762, 0.015128, -0.576792, 0.512532, 0.672616, 1.389580, -0.476444, 0.404700, -0.532910, -1.795952, 0.241228, 1.383689, -1.515232, 0.271979, -1.543068, -0.150854, -1.174402, 0.882491, 0.149071, -0.917308, -0.689293, -0.382830, -1.111705, -1.484126, -0.148355, -0.445174, -0.362349, -2.037557}
}
});
#endif /* EXPORT_PARAMETERS_FC1_W_H */
#ifndef EXPORT_ATTRIBUTES_FC2_H
#define EXPORT_ATTRIBUTES_FC2_H
#define _FC2_IN_CHANNELS 32
#define _FC2_OUT_CHANNELS 16
#endif /* EXPORT_ATTRIBUTES_FC2_H */
#ifndef EXPORT_PARAMETERS_FC2_B_H
#define EXPORT_PARAMETERS_FC2_B_H
#include <aidge/data/Tensor.hpp>
#include <memory>
std::shared_ptr<Aidge::Tensor> FC2_2 = std::make_shared<Aidge::Tensor>(Aidge::Array1D<float, 16> {
{ 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000 }
});
#endif /* EXPORT_PARAMETERS_FC2_B_H */
#ifndef EXPORT_PARAMETERS_FC2_W_H
#define EXPORT_PARAMETERS_FC2_W_H
#include <aidge/data/Tensor.hpp>
#include <memory>
std::shared_ptr<Aidge::Tensor> FC2_1 = std::make_shared<Aidge::Tensor>(Aidge::Array2D<float, 16, 32> {
{
{ 2.212206, 1.163079, 0.774004, 0.483805, 1.043440, 0.299563, 1.183926, 0.153025, 1.891711, -1.168815, -1.234741, 1.558071, -1.771029, -0.545945, -0.451384, -2.355630, 0.579384, 0.541440, -1.856082, 2.678507, -1.976880, 1.254634, -0.208019, -0.548774, 0.244422, -0.681064, -0.037161, -0.135316, -0.487750, 0.377231, -0.022617, 0.410164},
{ 0.574614, 0.571268, 1.466126, -2.757963, 0.686290, 1.076280, 0.354961, -0.614133, 1.073170, 1.830765, 0.120175, -1.146806, -0.971110, 0.053838, -0.775697, -2.507481, -0.788218, -0.591650, 0.741773, 0.858605, -1.473444, -0.227942, -1.073093, 0.201315, -1.042483, 0.350055, -1.327885, 0.536052, -1.474966, 1.519444, -0.524142, 1.904088},
{ 1.266256, -1.573443, 0.895064, -0.140079, -0.601595, 0.296701, 1.204056, 1.311195, -0.971219, 0.503590, -0.582562, -1.189445, 0.371708, -0.550214, 0.930007, -1.591876, -1.422575, -1.108195, -0.517620, 0.078720, 2.008832, -0.918563, 0.286308, -0.745715, 0.560459, -1.208086, 0.969760, 1.814021, -0.528537, -1.522743, -1.889090, -2.515245},
{ 0.654791, -1.354933, -0.454813, -0.957484, 0.325108, -0.724856, -1.300234, 1.111964, 0.367934, -0.478272, 1.453426, -1.173949, 0.241542, -0.792185, 0.478980, 0.932104, 0.968851, -3.155774, -1.021824, 2.193530, -0.068128, -0.538592, -0.318683, -0.861133, -0.176343, -1.881519, 0.356553, -0.720571, 0.744192, -0.356016, 0.778742, -0.159640},
{ 0.608782, 1.797448, 1.074176, 0.195949, 0.066428, -1.737640, 0.848699, 0.047347, -0.800380, 0.145809, -0.168822, 0.326049, 0.936328, 0.457878, 0.357444, -0.894258, 0.779328, 0.493839, -1.010307, -0.904343, -0.391573, -1.214079, 1.316619, 2.156406, -0.432926, 1.093822, 0.715360, 1.827143, 0.925416, -1.044670, -0.904951, 1.006219},
{ -0.074684, 0.517420, 0.822540, -0.806932, -1.878511, 1.376901, 0.885884, 0.205885, 1.911872, 0.994352, 0.333423, -0.235806, 0.118838, 0.298818, -1.919890, -1.998208, -0.675585, 0.351135, 1.007749, -0.764474, -0.353912, 1.259435, 1.632392, -0.962974, -0.333548, 0.508051, -1.737841, 0.756173, 0.773738, 1.683930, 0.891265, 1.257365},
{ 3.290453, 0.131232, -1.197623, 1.640302, 1.893887, -1.213801, -0.566927, 2.399971, -0.023922, -0.385091, 1.075666, -0.987804, -1.268808, 0.958589, -0.831414, -1.497647, 1.394570, 0.660516, 1.004347, -0.189036, -0.551724, -0.273026, -1.915356, 0.918154, 1.239096, 2.173063, -0.471864, 0.075200, 0.219959, 0.071856, -1.324687, 1.125620},
{ -1.446752, -0.355964, -0.771692, -0.253765, 0.305448, -0.040472, -0.303667, 0.496598, 0.166871, 1.380103, -0.460419, 1.802712, -0.227340, 0.645719, -0.260015, 1.811526, 0.030870, -1.252964, -1.116601, 0.387312, 0.304548, -0.410552, -0.370345, 1.284537, -1.094192, 0.210010, -0.435837, -0.086664, -0.939733, 1.464221, -2.246507, -1.305814},
{ -0.343046, 0.934440, -0.407202, 0.538086, 0.508696, -0.160380, 0.915117, 0.841876, -0.491778, -1.005536, -1.556092, 3.132215, -0.157488, -0.435899, -0.526646, -0.492951, -0.178850, 1.437187, 0.431647, -0.318141, 0.467601, -0.162825, 0.172871, 0.683610, 0.761590, 1.610670, 0.000099, -1.264223, -0.514314, 0.138954, 1.719847, 0.667116},
{ -0.114943, 0.214447, 1.561770, 0.993847, 1.111690, 0.108742, 1.493580, 0.535343, 0.536800, -1.861050, -1.325188, -0.468956, -0.647440, -0.676830, -0.552033, -0.615934, 0.100644, 0.642819, -0.331824, 1.659784, 0.494534, -0.010034, 0.719802, -1.086754, -0.329526, -0.195189, -0.517583, -2.790990, 0.723132, -0.357204, 1.441811, -1.498061},
{ 0.173715, -1.309633, 0.079681, -0.141415, -0.239062, 2.003672, 1.939710, -0.507194, 2.307158, 0.788397, 0.305586, 0.564596, -0.016464, 0.264668, -0.229135, -1.474782, 0.675856, 0.271192, -0.634547, -0.413979, 0.472989, 0.320269, 0.637677, -0.283788, 1.550799, -1.239665, -1.727076, 0.870026, 0.076169, 1.279255, -0.382890, 0.758394},
{ -0.538186, -1.634862, 0.255247, 0.197426, 0.564027, -0.985715, -0.059292, 0.611965, -0.174257, 1.969163, 0.652647, -0.643047, 0.584285, 0.354684, -0.838576, -1.107516, -2.762548, 1.779932, -0.478304, -0.404031, 1.617414, -0.528613, 1.479488, -1.272791, -1.476098, -0.188575, -0.836532, -0.593289, 1.287740, 0.363338, 0.402366, 0.592534},
{ 0.345934, -0.756709, -1.787833, 0.139265, -0.178709, -0.202259, 0.986850, 1.046625, -0.821654, -2.317597, 1.188656, 0.228428, -0.517519, -0.555370, -0.211663, -0.224368, -1.070402, -0.034077, 1.336466, -0.868913, 0.772799, 0.830154, -0.368010, 0.224619, -0.138387, 0.197733, 0.176451, -0.294902, 1.683438, 0.379219, -0.551522, 0.102535},
{ -1.031030, -1.005712, 0.770131, -1.125984, 0.037455, -0.325468, 0.960495, 0.490046, 0.979800, -1.050940, -1.244709, 0.337833, 0.020990, -0.738510, 2.649734, -0.473392, 0.269506, 0.952992, -1.138954, -0.654586, -0.053048, 0.546171, 0.444569, -0.314824, -0.011242, 0.653286, 0.116932, 0.239427, -0.066155, 1.430139, 1.428078, 0.893270},
{ -0.005348, 1.076221, 0.801042, -0.481205, -0.360837, 0.411937, 1.322597, 0.570394, 0.903369, -0.380902, 0.404875, -0.508008, 1.637640, -0.139692, -0.180168, -0.000948, -1.345533, 0.814092, -1.205097, -1.769323, -0.212703, -1.076019, -0.556150, 0.886167, -0.397926, -1.248311, -1.049718, 0.031322, -0.198826, -0.851717, 0.207144, 1.084022},
{ -0.038660, 0.116903, -0.182566, 0.837475, -0.635792, 1.238106, -1.001928, -1.663429, -0.235781, -0.498405, 1.396894, -0.470803, -0.389693, -0.819836, 0.019702, -0.287629, -0.744428, 1.030755, -0.153096, -0.258136, 0.265379, -0.613886, 1.024098, 0.567591, -0.412133, -1.546639, 1.522788, -0.479909, 1.248974, 0.217390, -0.332779, 0.991879}
}
});
#endif /* EXPORT_PARAMETERS_FC2_W_H */
#ifndef EXPORT_ATTRIBUTES_INPUTNODE_H
#define EXPORT_ATTRIBUTES_INPUTNODE_H
#define _INPUTNODE_IN_CHANNELS 3072
#define _INPUTNODE_OUT_CHANNELS 64
#endif /* EXPORT_ATTRIBUTES_INPUTNODE_H */
#ifndef EXPORT_PARAMETERS_INPUTNODE_B_H
#define EXPORT_PARAMETERS_INPUTNODE_B_H
#include <aidge/data/Tensor.hpp>
#include <memory>
std::shared_ptr<Aidge::Tensor> InputNode_2 = std::make_shared<Aidge::Tensor>(Aidge::Array1D<float, 64> {
{ 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000, 0.010000 }
});
#endif /* EXPORT_PARAMETERS_INPUTNODE_B_H */
source diff could not be displayed: it is too large. Options to address this: view the blob.
#ifndef EXPORT_ATTRIBUTES_OUTPUTNODE_H
#define EXPORT_ATTRIBUTES_OUTPUTNODE_H
#define _OUTPUTNODE_IN_CHANNELS 16
#define _OUTPUTNODE_OUT_CHANNELS 10
#endif /* EXPORT_ATTRIBUTES_OUTPUTNODE_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment