Bmi_py_Adaptor.hppget_analogous_cxx_type was throwing error at run time as get_value_ptr() now returns np.array. See merged PR #30 (and related closed issue #20) on getters and setters details. Required minor change to bmi func get_var_type().
bmi_lstm now builds/run in most recent ngen without error; output reasonable at glance.
Bmi_py_Adaptor.hpp
get_analogous_cxx_type
was throwing error at run time asget_value_ptr()
now returnsnp.array
. See merged PR #30 (and related closed issue #20) on getters and setters details. Required minor change to bmi funcget_var_type()
.bmi_lstm now builds/run in most recent ngen without error; output reasonable at glance.
Changes
get_var_type()
, fromto
python_type
needs to readlstm.bmi_LSTM.bmi_LSTM
init_config
Testing
ngen
latest commit a223330 with and withoutvenv
active. Note: DOES NOT require cmake build flag-DLSTM_TORCH_LIB_ACTIVE
run_lstm_bmi.py
,run_bmi_unit_test.py
&lstm_serialization_test.py
lstm_serialization_test.ipynb
&run_lstm_with_bmi.ipynb
python -m lstm
TODO
Update docs specific to
ngen
andvenv