Jonathan Malmaud

Results 30 issues of Jonathan Malmaud

Using pytype-2020.8.17: ```python from typing import Union import dataclasses @dataclasses.dataclass class X: a: Union[None, int] def f(x: X): reveal_type(x.a) ``` gives a type of `Union[Any, int]` for `x.a` instead of...

bug
cat: control flow

Rebased version of https://github.com/malmaud/TensorFlow.jl/pull/480

@zenna points out it would be useful to have a function that gives all tensors that have a given tensor as an input. The python API has such a function.

enhancement

This relies on the C API supporting adding gradient nodes, which Google has said will happen sometime.

enhancement
blocked

### Environment data VS Code version: 1.19.3 Jupyter Extension version: 1.1.4 OS and version: OS X 10.13.3 As far as I can tell, the kernel management functions like `jupyter.kernelRestart` and...

Thanks for this great package! Scanning the documentation, it doesn't look like there's support for reading or writing plain-text format (ie [this](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.text_format)). Is that something you'd consider? I might be...

Normally I'd use zmq_setsockopt with rcvtimeo if I only want to wait a fixed amount of time for a socket to receive. The implementation of `recv`in this wrapper though is...

enhancement

If you run ipython nbconvert on a Julia notebook to get a static HTML or PDF version of it, it uses Python syntax highlighting instead of Julia highlighting. I have...

Moving from https://github.com/JuliaLang/julia/issues/2771#issuecomment-148172159

If I position the cursor at the end of the block ```julia [1, 2] ``` and evaluate, I get an error `syntax: extra token "]" ...`.