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 10,140 public repositories matching this topic...
-
Updated
Nov 12, 2021 - Jupyter Notebook
-
Updated
Nov 4, 2021 - Python
Started in #13104, turned into a tracking issue here.
Turning on -n in sphinx-build results in over 1000 warnings about bad references in docs. Trying to break these down with various grep statements, it seems about 200 are from numpy.ma, about 150 from polynomial and about 150 from c:type. That is under half of the WARNINGS.
~My workflow is to cd to the doc
directory, modify the `ALLSPHIN
-
Updated
Oct 19, 2019
f-strings offer better readability/performance than str.format
and %
, so we should use them in all places in our codebase unless there is good reason to keep the older syntax.
NOTE FOR CONTRIBUTORS: To avoid large PRs and possible merge conflicts, do 1-3 modules per PR. Also, feel free to ignore the files located under
datasets/*
.
-
Updated
Dec 22, 2020 - Python
I'd like us to add some extra information to the dask docs around the block_info
keyword argument for Dask array map_blocks
. I think it should be added to this section here
Marvin explained something I found confusing here VolkerH/DaskFusion#1 (comment)
-
Updated
Dec 23, 2020 - Python
-
Updated
Sep 27, 2019 - Jupyter Notebook
-
Updated
Nov 8, 2021 - Python
-
Updated
Oct 6, 2021 - Python
I see comments suggesting adding this to understand how loops are being handled by numba, and in the their own FAQ (https://numba.pydata.org/numba-doc/latest/user/faq.html)
from llvmlite import binding as llvm
llvm.set_option('','--debug-only=loop-vectorize')
You would then create your njit function and run it, and I believe the idea is that it prints debug information about whether
Bidirectional RNN
Is there a way to train a bidirectional RNN (like LSTM or GRU) on trax nowadays?
-
Updated
Jun 10, 2021 - Python
Implement GPU version of numpy.*
functions in cupy.*
namespace.
This is a tracker issue that lists the remaining numpy.*
APIs (see also: comparison table). I've categorized them based on difficulty so that new contributors can pick the right task. Your contribution is highly welcomed and appreciated!
List of A
-
Updated
Feb 6, 2020
-
Updated
Nov 16, 2021 - Python
环境
1.系统环境:
2.MegEngine版本:1.6.0rc1
3.python版本:Python 3.8.10
The program stuck at net.load when I was trying to use the MegFlow. I wait for more than 10min and there is no sign of finishing it.
codebasics / py
-
Updated
Nov 3, 2021 - Jupyter Notebook
-
Updated
Oct 14, 2021 - Python
-
Updated
Nov 17, 2021 - Python
-
Updated
Nov 17, 2021 - Python
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
-
Updated
Nov 11, 2021 - Python
-
Updated
Nov 15, 2021 - C++
[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
Created by Travis Oliphant
Latest release 13 days ago
- Repository
- numpy/numpy
- Website
- numpy.org
- Wikipedia
- Wikipedia
EDIT: The failure is due to update in Python 3.10 behaviour.
The following OpInfo tests fail locally (with Python 3.10) but pass on CI for
gradient
ophttps://github.com/pytorch/pytorch/blob/97f29bda59deab8c063cf01f0a8ff4321b93c55e/torch/testing/_internal/common_methods_invocations.py#L8277-L8282
Local failure log