-
Notifications
You must be signed in to change notification settings - Fork 1
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
Merge developments in preparation for release v0.4 #121
Conversation
* Remove `meta` field from `Tensor` * Refactor type of `Tensor.inds` field to `ImmutableVector` Reduce inference-time overhead due to `Tuple` specializations * Avoid `TensorNetwork` specialization on `Makie.plot` methods * Fix annotation of hyperindices on `plot` * Fix hyperindex labelling
Semantics were not very clear. Use `length(tensors(tn))` instead.
`copy` is not acting as expected and the copied TN has the `.indices` field mutated.
Move "class" to dual `TensorNetwork`/`AbstractTensorNetwork` types. Closes Consider a `Classes.jl` fork or build same functionality on top of other packages #108
…#120) * Encode `TensorNetwork` graph using a incidence matrix * Optimize time, memory of `TensorNetwork` constructor * Fix `SparseArrays.findnz` on `IncidenceMatrix` * Replace `Bijections` for `BijectiveDicts` * Replace `IncidenceMatrix` for dictionaries * Refactor code and tests * Fix `Makie` code * Refactor `ChainRulesTestUtils.rand_tangent` to new `TensorNetwork` fields * Refactor `ChainRulesCore` rules to new `TensorNetwork` fields * Fix order of `tensors` when extracting them from `IdDict` Elements of an `AbstractDict` have no guarantee to be in any order. This was affecting the order in which the `tensors` method was returning the tensors, and thus, doing weird things when computing the jacobian. * Relax `Vector` eltype specialization in `rand_tangent` * Fix Makie code to new `tensors(tn)` order * Fix order stability of elements in `arrays`
to TensorNetwork
`smooth_annotation` function for code correctness
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #121 +/- ##
==========================================
+ Coverage 80.73% 88.18% +7.45%
==========================================
Files 14 10 -4
Lines 929 584 -345
==========================================
- Hits 750 515 -235
+ Misses 179 69 -110
☔ View full report in Codecov by Sentry. |
* Implement LinearAlgebra.lu decompoisition * Add tests for the new LinearAlgebra.lu function * Replace legacy labels for inds function * Refactor LU decomposition * Fix undef var in `factorinds` * Refactor QR decomposition * Update docstrings of `qr`,`lu` * Refactor SVD factorization * Fix typo * Add factorizations to docs --------- Co-authored-by: Sergio Sánchez Ramírez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything seems nice to me. The only improvements I could comment (and I think they are not necessary) are:
- Solve the CI / Documentation (push) Github Action error (link)
- Add tests for some methods to increase the code coverage percentage
Yeah, I'm not sure why this is happening but it should be solved when merging to master.
Actually, this PR increases "global" coverage by a 8%. And it's approaching a 90% which is high. |
Prepare for upgradable stdlibs of Julia 1.10
No description provided.