John Schulman
John Schulman
I'm creating this Issue to sketch out some ideas on how to implement conditionals and loops, which have come out of discussions with @nickjhay and @hojonathanho. These ideas will address...
The functions Op.typ_apply should check the input types and throw human-understandable exceptions when necessary. E.g., Mul22 needs to make sure that both of its inputs have ndim=2 and float or...
It would be nice to be able to load well-known pre-trained models like VGG and GoogLeNet into CGT data-structures. There's a half-written script for loading Caffe prototxt files, called `caffe2cgt.py`....
I propose that we get rid of CMake and build with setup.py. We need to determine all the compiler flags in `compilation.py` anyway, so it wouldn't be too much extra...
Moving this over from the bitbucket tracker... > Suppose you run the following script `CGT_FLAGS=backend=native python examples/demo_mnist.py` > and then hit control-C during execution. Chances are, you'll see something like...
CGT downloads and installs OpenBLAS. But then when numpy gets imported, the functions from the linked BLAS (e.g. cblas_dgemm) overload some of the functions from OpenBLAS. I noticed this when...
``` import trafilatura downloaded = trafilatura.fetch_url('https://en.wikipedia.org/wiki/Laplace_distribution') ex=trafilatura.extract(downloaded,output_format='xml',include_images=True) print(ex) ``` In several places, I see a `...` region in the wrong place. For example, trafilatura produces ``` where is the generalized...