This repository was archived by the owner on Apr 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
No intellisense for tensorflow.nn.max_pool() #285
Comments
Jedi max_pool(input, ksize, strides, padding, data_format="NHWC", name=None) is not annotated. _op = _op_def_lib._apply_op_helper(
"MaxPool", input=input, ksize=ksize, strides=strides, padding=padding,
data_format=data_format, name=name)
...
_result = quick_execute...
# or
_result = _op.outputs[:]
...
return _result` so we end up with a list, but we don't recognize the |
|
@MikhailArkhipov just want to clarify. Does PLS scrap |
Looking at this again to see if the namespace import PR is enough to fix this, and it's not. We're still detecting that it's a list, because the analysis is static (#428) and we infer the tensorflow return as a list because: _result = _op.outputs[:]
# ...
_result, = _result # Oops, reassigned. Type doesn't get changed from List[T] to T.
return _result |
EDIT: No longer the case, it shows up again. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
microsoft/vscode-python#2834
The text was updated successfully, but these errors were encountered: