Skip to content
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

[xnpy] Add signed char to deserialization format #1017

Merged
merged 2 commits into from Jul 31, 2018
Merged

[xnpy] Add signed char to deserialization format #1017

merged 2 commits into from Jul 31, 2018

Conversation

OneRaynyDay
Copy link
Contributor

signed int and int are the same datatype, but upon doing std::is_same<char, signed_char>::value, we can see that it is not. Therefore, we need to add signed char as a member into xnpy's deserialization step.

Why do we need signed char? Because std::int8_t aliases to signed char and people may use int8_t as a data type in a xtensor array in the future.

@JohanMabille JohanMabille merged commit 7778b5e into xtensor-stack:master Jul 31, 2018
FrozenWinters pushed a commit to FrozenWinters/xtensor that referenced this pull request Aug 14, 2018
FrozenWinters pushed a commit to FrozenWinters/xtensor that referenced this pull request Aug 14, 2018
Avoided installation failure in absence of nlohmann_json

Fix more warnings (xtensor-stack#999)

* refactor strides computation

* use better temporary type for strided view

* remove rebind container for fixed shape type

Shared xexpression + automatic xclosure detection (xtensor-stack#992)

add xshared expression

Update view.rst

convertible types instead of same type

basic usage replaced with getting started

fix where on xview

[xrandom] Improve `random::choice` (xtensor-stack#1011)

Added resevoir sampling and sampling with replacement with corresponding tests

Add tests to evaluate shared expression

[xnpy] Add `signed char` to deserialization format (xtensor-stack#1017)

* Add int8 support to xnpy

[xexpression] - Fix make_xshared (xtensor-stack#1024)

Fix make_xshared

[docs] Kwargs don't exist in C++

Quick nit about the documentation on numpy -> xtensor

xshared_expression fix (xtensor-stack#1025)

xshared_expression fixed

changelog updated

Release 0.17.0

Update binder and releasing instructions

missing comparison operators for xlices

fix rebind_container for gcc8 c++17

..

functor return value fixed

fix up shape_type in case xtensor fixed is used

fix up shape_type in case xtensor fixed is used, use std::array for xtensor_fixed in MSVC

add more adapt functions

add docs + tests

fix strided view on view

fix warnings for braces on older clang versions

Improved CRTP base class detection

add std qualifiers to size_t and ptrdiff_t

ifdef copysign for MSVC

release 0.17.1

[docs] tanh typo

Quick nit

add missing parenthesis around std::min and std::max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants