jean laroche

Results 37 comments of jean laroche

Ah great, that's simple enough! Thanks! I'll let you know how that works... (I use jit, so indeed I have to switch to boost, which should be easy)

> @adeyo50 you can install https://github.com/alphacep/vosk-android-service. It works somewhat. How can I try this without having to build it? I too am very interested in having voice typing support in...

@celliern: your implementation did not work for me, but this did for simple slices... ``` @Operation.factory() def StridedSlice(input_, begins, ends,strides): dim = len(input_.shape) slices = [slice(b,e if e else None,s)...

You can start by checking this out: https://serge-sans-paille.github.io/pythran-stories/pythran-as-a-bridge-between-fast-prototyping-and-code-deployment.html It's the same idea and you'll find the answers to many of your questions... On 1/14/22 3:10 PM, SM1991CODES wrote: > >...

I got help from Serge to create this helper function! :) I wasn't very familiar with the pythran code so this looked totally obscure to me. A quick explanation, *types::ndarray...

Wow, nice work! Keep me posted, I'm interested to hear how things go for you. As far as I know, we are the only people who use pythran that way...

Oh, that's good enough for me! Thanks! (any explanation on why 8?)

> pythran uses `long int` to represent integers. On Windows 64bit, `long int` has 32 bits, thus the issue. Note that first case fails at runtime and the seonc fails...

Edit: Test with: ``` time python -c "import numpy as np; from foo import * ; test(np.random.randn(100000,100),1.1,80000,np.zeros((100000,100)))" ```