Skip to content

Add the constructor of NDArray which reuses memory#1044

Merged
Oceania2018 merged 2 commits intoSciSharp:masterfrom
SanftMonster:add_cv_compatibility
Apr 28, 2023
Merged

Add the constructor of NDArray which reuses memory#1044
Oceania2018 merged 2 commits intoSciSharp:masterfrom
SanftMonster:add_cv_compatibility

Conversation

@SanftMonster
Copy link
Collaborator

This PR made the following changes:

  1. Fix the error when saving NDArray with dtype=byte.
  2. Add a protected constructor for NDArray, which allows to reuse the existing memory to create a NDArray.

@SanftMonster SanftMonster added bug Something isn't working enhancement New feature or request numpy labels Apr 27, 2023
@Oceania2018 Oceania2018 merged commit 179e32a into SciSharp:master Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request numpy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants