Loading source/CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ target_include_directories (ml_embedder INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/_deps/json-src/include> ) target_precompile_headers (ml_embedder Loading source/hdf5.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ #include <iostream> #include <type_traits> #include <concepts> #include <vector> #include <hdf5.h> #include <hdf5_hl.h> Loading tests/ml_embedder_fortran_test.f90 +5 −2 Original line number Diff line number Diff line Loading @@ -75,7 +75,10 @@ INTEGER(C_INT), PARAMETER :: batch_size = 10000 ! Start of executable code. model => ml_context(TGLF_MODEL_WEIGHTS // C_NULL_CHAR, & model => ml_context( & ! These lines are long so start them at the beginning otherwise it will ! overflow the line limits when the macro is expanded. TGLF_MODEL_WEIGHTS // C_NULL_CHAR, & TGLF_MODEL_CONFIG // C_NULL_CHAR) in_shape => model%get_in_shape() out_shape => model%get_out_shape() Loading Loading
source/CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ target_include_directories (ml_embedder INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> $<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/_deps/json-src/include> ) target_precompile_headers (ml_embedder Loading
source/hdf5.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ #include <iostream> #include <type_traits> #include <concepts> #include <vector> #include <hdf5.h> #include <hdf5_hl.h> Loading
tests/ml_embedder_fortran_test.f90 +5 −2 Original line number Diff line number Diff line Loading @@ -75,7 +75,10 @@ INTEGER(C_INT), PARAMETER :: batch_size = 10000 ! Start of executable code. model => ml_context(TGLF_MODEL_WEIGHTS // C_NULL_CHAR, & model => ml_context( & ! These lines are long so start them at the beginning otherwise it will ! overflow the line limits when the macro is expanded. TGLF_MODEL_WEIGHTS // C_NULL_CHAR, & TGLF_MODEL_CONFIG // C_NULL_CHAR) in_shape => model%get_in_shape() out_shape => model%get_out_shape() Loading