Class: DNN::Savers::JSONSaver
Instance Method Summary collapse
Methods inherited from Saver
Constructor Details
This class inherits a constructor from DNN::Savers::Saver
Instance Method Details
#dump_bin ⇒ Object
107 108 109 110 |
# File 'lib/dnn/core/savers.rb', line 107 def dump_bin data = { version: VERSION, class: @model.class.name, params: get_all_params_base64_data } JSON.dump(data) end |