Closed alanisaac closed 6 months ago
Dependencies in Python require the front end to download those equivalents in the browser for Pyodide. numpy and pydantic both add overhead, though numpy's is larger.
numpy
pydantic
Currently, numpy is used only for the argmax function. Could we replace it with this? https://github.com/cjohnson318/til/blob/main/python/argmax-without-numpy.md
argmax
Dependencies in Python require the front end to download those equivalents in the browser for Pyodide.
numpy
andpydantic
both add overhead, thoughnumpy
's is larger.Currently,
numpy
is used only for theargmax
function. Could we replace it with this? https://github.com/cjohnson318/til/blob/main/python/argmax-without-numpy.md