-
Notifications
You must be signed in to change notification settings - Fork 4
NumPy API surface : plan/prioritize the coverage #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Later if at all:
base |
For
BitGenerator |
And linalg:
|
This looks quite good, thanks @ev-br. Here's where I would start:
|
For random, we can rather easily mock up |
I agree with the list from Ralf. Here's a slightly more comprehensive list of things that either have PyTorch equivs or are close to trivial to implement. These could go into a PR, as most of them should have a very simple implementation. After these, I think we can declare victory on the coverage end and we should spend some time finishing the refactorisation and doing general cleanups across the codebase (without spending too much time on this) and then move on to the testing part of the project, where we show that what we built, in fact, works.
|
That list seems reasonable, minus |
EDIT: the relevant list for an MVP is #87 (comment).
The rest is maybe-some-day-if-need-arises.
Splitting it off gh-86, here's the difference in API surfaces of NumPy and this wrapper. We can edit the order to reflect priorities:
EDIT: now lightly edited:
Lower prio:
memmap
ndenumerate
ndindex
nditer
nested_iters
setxor1d
setdiff1d
vectorize
trapz
trim_zeros
version
sort_complex
flatiter
union1d
unpackbits
packbits
Low prio if at all:
array2string
array_repr
array_str
busday_count
busday_offset
busdaycalendar
byte_bounds
bytes_
cast
ctypeslib
deprecate
deprecate_with_doc
format_float_positional
format_float_scientific
format_parser
get_array_wrap
get_include
get_printoptions
getbufsize
geterr
geterrcall
geterrobj
obj2sctype
poly
poly1d
polyadd
polyder
polydiv
polyfit
polyint
polymul
polynomial
polysub
polyval
sctype2char
sctypeDict
seterr
seterrcall
seterrobj
set_numeric_ops
set_printoptions
set_string_function
setbufsize
shares_memory
source
tracemalloc_domain (?)
test
testing
use_hugepage
who
save
savetxt
savez
savez_compressed
show_config
show_runtime
frombuffer
fromfile
fromfunction
fromiter
frompyfunc
fromregex
fromstring
genfromtxt
base_repr
binary_repr
may_share_memory
broadcast
printoptions
issctype
issubsctype
require
lookfor
load
loadtxt
mask_indices
kernel_version
lexsort
little_endian
maximum_sctype
intersect1d
Definitely not (no pytorch equivalents):
add_docstring
add_newdoc
add_newdoc_ufunc
asmatrix
char
character
chararray
clongdouble
clongfloat
complex256
compare_chararrays
datetime64
datetime_as_string
datetime_data
flexible
float128
isnat
is_busday
longcomplex
longdouble
longfloat
matrix
rec
recarray
recfromcsv
recfromtxt
record
ushort
uint
uint16
uint32
uint64
uintc
uintp
ulonglong
unicode_
void
spacing
str_
string_
timedelta64
safe_eval
numarray
oldnumeric
object_
fastCopyAndTranspose (deprecated in numpy)
msort (deprecated in numpy)
disp
info
iterable
The text was updated successfully, but these errors were encountered: