]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
minor : improve C++ and Python style (#768)
authorAsukaMinato <redacted>
Sat, 29 Apr 2023 07:06:25 +0000 (16:06 +0900)
committerGitHub <redacted>
Sat, 29 Apr 2023 07:06:25 +0000 (10:06 +0300)
commit94aa56f19eed8b2419bc5ede6b7fda85d5ca59be
tree776e01d2fdbc8237bd44dfb82bcf24e2192a53e7
parent4d89ee2e591a4bade7bb89eeeff5087e75ccfc56
minor : improve C++ and Python style (#768)

* use some STL functions

* use self.field than setattr, use pathlib.Path

* recover some format

* const some iter

* Keep the original

* 2 space
models/convert-h5-to-ggml.py
models/convert-pt-to-ggml.py
models/convert-whisper-to-coreml.py
whisper.cpp