NumPy
NumPy is an open source library for the Python programming language, adding support for large, multidimensional arrays, and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.
Here are 7,815 public repositories matching this topic...
-
Updated
Mar 11, 2021 - Jupyter Notebook
-
Updated
Feb 18, 2021 - Python
Picking up from #15731, there are many places in numpy where we do something like:
try:
something_which_throws_typeError
except TypeError:
raise ValueError("a clearer explanation of what went wrong")It would produce a marginally clearer error if we could change these to use traceback chaining. Our two options are either:
- The inner error provides valuable infor
-
Updated
Oct 19, 2019
-
Updated
Dec 22, 2020 - Python
I just ran into an issue when trying to use to_csv with distributed workers that don't share a file system. I shouldn't have been surprised that writing to a local file system from a distributed worker doesn't work. It shouldn't work. But the error I got was just a File Not Found error. That brought me to:dask/dask#2656 (comment) - which was the answer.
-
Updated
Sep 27, 2019 - Jupyter Notebook
-
Updated
Dec 23, 2020 - Python
-
Updated
Feb 9, 2021 - Python
-
Updated
Mar 15, 2021 - Python
-
Updated
Mar 13, 2021 - Python
(Noticed whilst reviewing #6695)
From the docs for numba.cuda.atomic.compare_and_swap:
class compare_and_swap(ary, old, val)
Conditionally assign val to the first element of an 1D array ary if the current value matches old.
Returns the current value as if it is loaded atomically.
It seem
Bidirectional RNN
Is there a way to train a bidirectional RNN (like LSTM or GRU) on trax nowadays?
-
Updated
Feb 17, 2021 - Python
-
Updated
Feb 6, 2020
-
Updated
Mar 14, 2021 - Python
-
Updated
Mar 15, 2021 - Python
-
Updated
Jan 9, 2021 - Python
[Error Message] Improve error message in SentencepieceTokenizer when arguments are not expected.
Description
While using tokenizers.create with the model and vocab file for a custom corpus, the code throws an error and is not able to generate the BERT vocab file
Error Message
ValueError: Mismatch vocabulary! All special tokens specified must be control tokens in the sentencepiece vocabulary.
To Reproduce
from gluonnlp.data import tokenizers
tokenizers.create('spm', model_p
-
Updated
Mar 12, 2021 - C++
Implements {DataFrame,Series}.empty
hi,
if possible, please add these indicators as well:
TDI (Traders Dynamic Index)
chandelier exit
pivot points
BOP (balance of power)
CTM (Chande trend meter)
Coppock Curve
Correlation Coefficient
PMO (DecisionPoint Price Momentum Oscillator)
Ulcer Index
most of them except TDI are available on stockcharts.com
thanks
codebasics / py
-
Updated
Feb 27, 2021 - Jupyter Notebook
-
Updated
Mar 9, 2021 - Jupyter Notebook
Created by Travis Oliphant
Latest release about 1 month ago
- Repository
- numpy/numpy
- Website
- numpy.org
- Wikipedia
- Wikipedia
According to
https://github.com/pytorch/pytorch/blob/64847c7f0b3559c6edc40f001619b80c7dc68ef7/c10/util/Exception.h#L479
all usages of AT_ERROR("msg") should be replace with
TORCH_CHECK(false, "msg")There are currently 29 instances of AT_ERROR being used in c10 codebase: