summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/tensor
Commit message (Collapse)AuthorAgeFilesLines
* handle "blocks" syntax for mixed tensors with multiple indexed dimensionsArne Juul2023-12-011-4/+14
|
* sparseAddr -> sparseAddressArne Juul2023-11-093-14/+14
|
* expose dense subspace blocks for serializingArne Juul2023-11-094-63/+57
|
* add more details if validation failsArne Juul2023-11-091-4/+13
|
* try to improve hashCode/equalsArne Juul2023-11-081-2/+13
|
* store cells in blocks for MixedTensorArne Juul2023-11-081-119/+152
|
* fix toString() and dimensionNames()Arne Juul2023-11-022-3/+3
|
* add reference implementation of MapSubspacesArne Juul2023-11-025-3/+210
|
* Update copyrightJon Bratseth2023-10-0959-59/+59
|
* - Use equals when comparing Optional<Long>Henning Baldersheim2023-09-135-44/+44
| | | | - Minor cleanup
* fix dimension size comparisonArne Juul2023-09-132-2/+2
|
* jdk21: set methods final in vespajlibgjoranv2023-07-171-2/+1
| | | | + fix import issues
* override type resolving to do some sanity checkingArne Juul2023-06-262-2/+62
|
* add cosine_similarityArne Juul2023-06-261-0/+63
|
* add class comment and test expansionArne Juul2023-06-261-0/+2
|
* add euclidean_distanceArne Juul2023-06-261-0/+57
|
* allow short-form JSON for 1-d constantsArne Juul2023-05-161-9/+9
|
* Build with jdk20Jon Bratseth2023-04-171-1/+1
|
* add withTransformedFunctions() to TensorFunction APIArne Juul2023-03-203-0/+47
|
* expose embedded expressions from DynamicTensorArne Juul2023-03-171-0/+19
|
* * make InputRecorder handle slice with embedded expressionsArne Juul2023-03-161-0/+9
| | | | * special handling for Generate and Slice in BindingExtractor
* join dimensions must equal common dimensions for optimizationArne Juul2023-03-161-0/+2
|
* Value type aware value renderingJon Bratseth2023-03-131-5/+18
|
* Handle negative numeric labels.Henning Baldersheim2023-02-021-1/+1
|
* Support embedding an array to a mixed 2d tensorJon Bratseth2023-01-273-20/+36
|
* Test direct renderingJon Bratseth2023-01-161-28/+41
|
* Support direct tensor renderingJon Bratseth2023-01-141-39/+64
|
* Handle type renderingJon Bratseth2023-01-131-1/+1
| | | | | - Always output type for consistency. - Ignore type in input.
* Parse tensor JSON values at rootJon Bratseth2023-01-121-29/+38
| | | | | | | | | | Our current tensor JSON formats require a "blocks", "cells" or "values" key at the root, containing values in various forms. This adds support for skipping that extra level and adding content at the root, where the permissible content format depends on the tensor type, and matches the formats below "blocks", "cells" or "values" for the corresponding tensor types.
* Merge pull request #25260 from vespa-engine/balder/ensure-reuse-of-low-indexesHenning Baldersheim2022-12-141-3/+18
|\ | | | | Keep a static representation of strings for low indexes [0...999].
| * 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.
* | Use a native double to store the cell value instead of full blown ↵Henning Baldersheim2022-12-141-7/+9
|/ | | | Number/Double to keep memory footprint down.
* Revert "Revert collect(Collectors.toList())"Henning Baldersheim2022-12-047-11/+11
|
* Revert collect(Collectors.toList())Henning Baldersheim2022-12-047-11/+11
|
* collect(Collectors.toList()) -> toList()Henning Baldersheim2022-12-027-11/+11
|
* Revert "Revert "Let list handling catch up with Java 17""Henning Baldersheim2022-12-021-15/+13
|
* Revert "Let list handling catch up with Java 17"Bjørn Christian Seime2022-12-021-13/+15
|
* Let list handling catch up with Java 17Henning Baldersheim2022-12-021-15/+13
|
* Reduce the simple usage of guava where java has caught upHenning Baldersheim2022-11-3015-102/+55
|
* More input tests and better error messageJon Bratseth2022-10-194-8/+20
|
* Reuse scratch buffer to avoid allocating and clearing a new buffer for ↵Henning Baldersheim2022-10-121-10/+8
| | | | serializing every tensor.
* - Presize array to its max size.Henning Baldersheim2022-10-121-1/+5
| | | | | - Return the GrowableByteBuffer from TypedBinaryFormat instead of a copy of the buffer. Then buffer is copied only once instead of twice.
* Prefer ArrayList over LinkedList as it is normally faster.Henning Baldersheim2022-10-121-1/+0
|
* Return X-Vespa-Ignored-Fields if fields were ignoredJon Bratseth2022-10-061-2/+2
|
* allow simple hex format for dense tensors of known typeArne Juul2022-09-021-0/+41
|
* Revert "allow simple hex format for dense tensors of known type"Henning Baldersheim2022-08-311-37/+0
|
* allow simple hex format for dense tensors of known typeArne Juul2022-08-311-0/+37
|
* Default to tensor short form more placesJon Bratseth2022-06-161-2/+2
|
* Set short tensor format as defaultLester Solbakken2022-06-081-5/+9
|
* Remove on Vespa 8Jon Bratseth2022-06-081-5/+0
|