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

TensorShare.to_tensors method #20

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

chainyo
Copy link
Owner

@chainyo chainyo commented Aug 9, 2023

This PR:

  • Change from_dict to a classmethod instead of staticmethod
  • Add a to_tensors method to deserialize tensors to a specific backend

@chainyo chainyo added the feature New feature for the package label Aug 9, 2023
@chainyo chainyo linked an issue Aug 9, 2023 that may be closed by this pull request
@codecov-commenter
Copy link

Codecov Report

Merging #20 (c87ec77) into main (1325119) will increase coverage by 0.02%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
+ Coverage   98.05%   98.07%   +0.02%     
==========================================
  Files           7        7              
  Lines         154      156       +2     
==========================================
+ Hits          151      153       +2     
  Misses          3        3              
Files Changed Coverage Δ
src/tensorshare/schema.py 100.00% <100.00%> (ø)

@chainyo chainyo merged commit 1a14704 into main Aug 9, 2023
5 checks passed
@chainyo chainyo deleted the 19-add-a-method-to-deserialize-to-tensorshare branch August 9, 2023 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature for the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a method to deserialize to TensorShare
2 participants