-
- Downloads
Ensure JSON is sorted when dumping it in the notebook.
In Python2, the dumps function of the json module always returns the same JSON string for a given Python dictionary across different runs. In Python3, the returned JSON changes across runs, in particular the order in which dictionary keys are shown, which complicates the notebook tests of the interactive neural networks. Only with a sorted JSON we can compare the newly generated notebook with a reference notebook.
Loading
Please register or sign in to comment