aboutsummaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/tensor/TensorAddress.java
Commit message (Collapse)AuthorAgeFilesLines
* Make tensor addresses integer based instead of as strings.Henning Baldersheim2024-01-251-42/+88
| | | | | Positive numbers are direct indexes, while strings that does not represent numbers are enumerated and represented with negative integers.
* Extract label once.Henning Baldersheim2024-01-221-1/+0
|
* - Using optional in the inner loop is often very inefficient. It bloats the codeHenning Baldersheim2024-01-221-3/+3
| | | | and most of the time hampers the compilers abilitity to inline and optimize.
* Use lz4-java and xxhash32Henning Baldersheim2024-01-211-4/+16
|
* Revert "Balder/cached xxh3 hash"Henning Baldersheim2024-01-211-18/+6
|
* of => withSeedHenning Baldersheim2024-01-211-1/+1
|
* Must handle null dimensions.Henning Baldersheim2024-01-211-1/+4
|
* - Use xxh3 hash for better hashing, and cache the hash value.Henning Baldersheim2024-01-211-6/+15
|
* - Make an tensor.impl package that can be used from other tensor packages ↵Henning Baldersheim2024-01-181-88/+6
| | | | | | | | | allowing bypass of defensive strategies in the public interfaces. - Move private static inner classes TensorAddress.NumericTensorAddress and TensorAddress.StringTensorAddress to tensor.impl package. - Use the StringTensorAddress.of from Reduce to avoid defensive array copy.
* Update copyrightJon Bratseth2023-10-091-1/+1
|
* Handle negative numeric labels.Henning Baldersheim2023-02-021-1/+1
|
* Support embedding an array to a mixed 2d tensorJon Bratseth2023-01-271-16/+14
|
* Keep a static representation of strings for low indexes [0...999].Henning Baldersheim2022-12-141-3/+18
| | | | This will avoid blowing up the heap with many duplicate strings.
* Default to tensor short form more placesJon Bratseth2022-06-161-2/+2
|
* Revert "Merge pull request #22642 from ↵Jon Bratseth2022-05-181-10/+39
| | | | | | | vespa-engine/revert-22637-bratseth/model-syntax" This reverts commit 2c9cb8159adaced573fd1e34689e533946feea85, reversing changes made to a4dbfc43c7df534ee5b032204ef19a7b038d7e3e.
* Revert "Bratseth/model syntax"Arnstein Ressem2022-05-181-39/+10
|
* More leniencyJon Bratseth2022-05-181-7/+11
|
* Unify constant syntax across models and rank profilesJon Bratseth2022-05-181-3/+28
|
* Parse input default valuesJon Bratseth2022-05-061-1/+16
|
* Update 2017 copyright notices.gjoranv2021-10-071-1/+1
|
* Stateless REST API: short forms for sparse and mixed tensorsLester Solbakken2021-09-271-1/+1
|
* Specify that the value is a labelJon Bratseth2020-01-071-1/+1
|
* More tensor short forms in Tensor.toString()Jon Bratseth2020-01-031-1/+2
|
* Allow quoted labels in tensorsJon Bratseth2019-12-171-17/+11
|
* Merge with masterJon Bratseth2019-12-161-5/+8
|\
| * Add a faster, but simpler pattern matcher. Builds tensoraddresses 5 times+ ↵Henning Baldersheim2019-12-131-4/+7
| | | | | | | | faster than the regex one.
| * static final regexHenning Baldersheim2019-12-121-2/+2
| |
| * Revert "Revert "Allow minus sign at the start of a label.""Henning Baldersheim2019-12-121-5/+2
| |
| * Revert "Allow minus sign at the start of a label."Henning Baldersheim2019-12-111-2/+5
| |
* | Tensor parsing improvementsJon Bratseth2019-12-101-0/+4
|/ | | | | - Mixed tensor format parsing (outside expressions) - Validate structure of dense tensor strings
* Rename private fieldJon Bratseth2019-12-061-5/+2
|
* Allow minus sign at the start of a labelJon Bratseth2019-12-051-1/+1
|
* Parse@ tensor value expressionsJon Bratseth2019-11-261-1/+1
|
* Validate moreJon Bratseth2019-06-041-2/+6
|
* Validate that tensor dimensions and labbels are identifiersJon Bratseth2018-06-061-2/+12
|
* Tensor API out of betaJon Bratseth2018-03-121-3/+0
|
* Use longs for dimensions lengths in all API'sJon Bratseth2017-12-191-23/+17
| | | | | This is to be able to support tensor dimensions with more than 2B elements in the future without API change.
* Revert "Revert "Bratseth/tensorflow models""Jon Bratseth2017-12-181-12/+12
|
* Revert "Bratseth/tensorflow models"gjoranv2017-12-171-12/+12
|
* Check agreement between TF and Vespa executionJon Bratseth2017-12-131-12/+12
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Update copyright headers"Jon Bratseth2017-06-141-1/+1
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Copyright header"Jon Bratseth2017-06-131-1/+1
|
* Copyright headerJon Bratseth2017-06-131-1/+1
|
* Remove empty to avoid class-init deadlockJon Bratseth2017-05-301-2/+0
|
* Optimize indexed iterator accessJon Bratseth2017-01-051-21/+0
|
* Optimize subspace iterationJon Bratseth2017-01-051-4/+24
|
* Add concat functionJon Bratseth2017-01-021-2/+19
|
* Revert "Revert "Bratseth/tensor subiterators""Jon Bratseth2016-12-201-28/+101
|