Simplify model loading and exporting
Contains the following changes:
In nn_interface
module:
-
save_model
renamed tosave
and generalized to support three different output formats: ketos, protobuf, and ketos-protobuf -
load_model_file
renamed toload
-
build_from_recipe_file
renamed tobuild
In waveform
and spectrogram
modules
- added new method
infer_shape
In parsing
module:
- added new function
is_encoded
In export
module:
-
added new function
export_to_ketos
-
added new function
get_export_function
-
generally improved the implementation of all export functions and strengthened test suite
Note: Wherever functions have been renamed, a wrapper function with the old name has been created to ensure backward compatibility.
Also, version no. has been bumped up to 2.5.0