Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avoid abstract value types | Håvard Pettersen | 2019-04-25 | 28 | -756/+247 |
| | | | | | | | | | | | | remove basic value type ANY remove concept of tensors with unknown dimensions disallow value types with unbound indexed dimensions remove predicates talking about abstract types type of unknown values are now ERROR (was ANY) require that overlapping indexed dimensions are of equal size type unification now requires types to be equal ('if' expressions) creating a tensor type without dimensions now gives a double type make rank feature setup fail on invalid types (query/attribute) | ||||
* | support binary formats with cell type in reference implementation | Håvard Pettersen | 2019-04-09 | 3 | -7/+248 |
| | |||||
* | Merge pull request #9029 from ↵ | Henning Baldersheim | 2019-04-08 | 2 | -2/+42 |
|\ | | | | | | | | | vespa-engine/havardpe/parse-and-ignore-tensor-cell-type parse (and ignore for now) tensor cell type in tensor type spec | ||||
| * | Improve handling of malformed cell type specifiers | Håvard Pettersen | 2019-04-08 | 1 | -6/+24 |
| | | | | | | | | | | | | | | | | | | Do not consume any input when encountering a malformed cell type specifier. This avoids parse conflicts between 'less' operators and tensor cell type specifiers in type expressions in the type resolution test which parses partial input into value types. example expression: 'tensor < double' | ||||
| * | parse (and ignore for now) tensor cell type in tensor type spec | Håvard Pettersen | 2019-04-05 | 2 | -2/+24 |
| | | | | | | | | example: tensor<float>(x[10]) | ||||
* | | Use bit number 3 mean 'with cell type' to carry forward the current schema ↵ | Henning Baldersheim | 2019-04-05 | 2 | -5/+7 |
|/ | | | | | | where the bits hav meaning. Update expected result. | ||||
* | Add a method that will extract cells only to a favoured cell type. This is ↵ | Henning Baldersheim | 2019-04-03 | 6 | -11/+72 |
| | | | | temporary until full typed tensor support is in place. | ||||
* | Keep the serialzation of the cells with the serialization for now. | Henning Baldersheim | 2019-04-03 | 7 | -82/+79 |
| | | | | Clean up code for better understanding and reuse. | ||||
* | Instead of specifying type of tensor, specify serialization. | Henning Baldersheim | 2019-04-03 | 13 | -86/+74 |
| | |||||
* | Remove wrappers not neeed. | Henning Baldersheim | 2019-04-02 | 3 | -12/+1 |
| | |||||
* | Remove duplicate typedefs. | Henning Baldersheim | 2019-04-02 | 2 | -12/+8 |
| | |||||
* | Handle dense tensors encoded as float | Henning Baldersheim | 2019-04-02 | 11 | -137/+251 |
| | |||||
* | Add cell_type | Henning Baldersheim | 2019-04-02 | 4 | -19/+18 |
| | |||||
* | Only include what you need. | Henning Baldersheim | 2019-04-02 | 4 | -11/+4 |
| | |||||
* | Unify on nested namespaces. | Henning Baldersheim | 2019-04-02 | 21 | -107/+54 |
| | |||||
* | Adjust build setup for Darwin. | Tor Egge | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | Check for assignable tensor type when setting tensor in TensorFieldValue. | Tor Egge | 2019-03-07 | 1 | -3/+3 |
| | |||||
* | Add '()' to macro definition. | Geir Storli | 2019-03-01 | 3 | -3/+3 |
| | |||||
* | Merge pull request #8604 from ↵ | Tor Egge | 2019-02-25 | 5 | -22/+156 |
|\ | | | | | | | | | vespa-engine/geirst/remove-and-modify-for-mixed-tensors Geirst/remove and modify for mixed tensors | ||||
| * | Verify that previous value is used by testing with an operation that ↵ | Geir Storli | 2019-02-25 | 1 | -17/+8 |
| | | | | | | | | combines old and new. | ||||
| * | Support modify operation on mixed tensors. | Geir Storli | 2019-02-25 | 2 | -2/+64 |
| | | |||||
| * | Support remove operation on mixed tensors. | Geir Storli | 2019-02-25 | 4 | -5/+86 |
| | | |||||
* | | Merge pull request #8596 from vespa-engine/toregge/eliminate-some-gcc-9-warnings | Henning Baldersheim | 2019-02-25 | 2 | -2/+2 |
|\ \ | |/ |/| | Eliminate some gcc 9 warnings. | ||||
| * | Eliminate some gcc 9 warnings. | Tor Egge | 2019-02-25 | 2 | -2/+2 |
| | | |||||
* | | Support add operation on mixed tensors. | Geir Storli | 2019-02-25 | 2 | -2/+74 |
| | | |||||
* | | Migrate unit tests to gtest. | Geir Storli | 2019-02-25 | 6 | -41/+48 |
|/ | |||||
* | Implement remove operation for sparse tensor. | Geir Storli | 2019-02-20 | 12 | -1/+154 |
| | |||||
* | Remove files used by old unit test runner. | Tor Egge | 2019-02-19 | 12 | -12/+0 |
| | |||||
* | Eliminate clang warnings in eval. | Tor Egge | 2019-02-10 | 2 | -3/+3 |
| | |||||
* | Return unique pointer to const tensor instead. | Geir Storli | 2019-02-08 | 1 | -2/+2 |
| | |||||
* | Create common test function for creating a tensor using default tensor engine. | Geir Storli | 2019-02-08 | 4 | -38/+50 |
| | |||||
* | Merge pull request #8439 from ↵ | Tor Egge | 2019-02-08 | 27 | -35/+224 |
|\ | | | | | | | | | vespa-engine/geirst/add-operation-support-on-sparse-tensors Geirst/add operation support on sparse tensors | ||||
| * | Update Tensor forward declarations. | Geir Storli | 2019-02-08 | 8 | -8/+8 |
| | | |||||
| * | Rename unit test tensor_modify -> tensor_modify_operation. | Geir Storli | 2019-02-08 | 3 | -8/+8 |
| | | |||||
| * | Implement add() function on vespalib::tensor::Tensor for adding a set of ↵ | Geir Storli | 2019-02-08 | 16 | -19/+208 |
| | | | | | | | | | | | | cells to the tensor. Currently only supported for sparse tensor. | ||||
* | | Eliminate some clang warnings in eval | Tor Egge | 2019-02-08 | 3 | -5/+2 |
|/ | |||||
* | Merge pull request #8348 from vespa-engine/toregge/tensor-update-end-to-end | Geir Storli | 2019-02-04 | 19 | -48/+395 |
|\ | | | | | Tensor modify update end to end | ||||
| * | Test that updates to missing cells are ignored. | Tor Egge | 2019-02-01 | 1 | -0/+24 |
| | | | | | | | | Test that updates to out of range cells are ignored. | ||||
| * | Apply tensor modify update to given field value. | Tor Egge | 2019-02-01 | 19 | -48/+371 |
| | | |||||
* | | Revert "Revert "Use OS provided xxhash."" | Henning Baldersheim | 2019-02-03 | 3 | -2/+16 |
| | | |||||
* | | Revert "Use OS provided xxhash." | Håkon Hallingstad | 2019-02-03 | 3 | -16/+2 |
| | | |||||
* | | Use OS provided xxhash. | Henning Baldersheim | 2019-02-01 | 3 | -2/+16 |
| | | |||||
* | | Adjust forward declarations in eval. | Tor Egge | 2019-02-01 | 19 | -25/+25 |
|/ | |||||
* | Merge pull request #6518 from ↵ | Henning Baldersheim | 2018-08-08 | 1 | -4/+15 |
|\ | | | | | | | | | vespa-engine/havardpe/avoid-old-style-varargs-when-specifying-function-types Avoid using the 'convenient' way to specify parameter types when | ||||
| * | Avoid using the 'convenient' way to specify parameter types when | Håvard Pettersen | 2018-08-08 | 1 | -4/+15 |
| | | | | | | | | | | | | | | | | | | | | resolving application functions we want to call from an llvm-compiled function. LLVM 3.9 uses varargs with a nullptr sentinel at the end while newer versions of LLVM (5/6) uses variadic templates. This leads to 'inconvenience' when upgrading where the code still compiles, but the no longer needed/wanted nullptr sentinel triggers a signature mismatch leading to not being able to call functions like 'sin'/'cos' etc. | ||||
* | | dump -> print(stream) | Henning Baldersheim | 2018-08-08 | 3 | -13/+11 |
|/ | |||||
* | newer llvm releases have dropped virtual. | Henning Baldersheim | 2018-08-07 | 1 | -7/+4 |
| | | | | Use llvm::dyn_cast to be future safe. | ||||
* | Remove stringref::c_str() | Tor Brede Vekterli | 2018-07-25 | 2 | -2/+2 |
| | | | | | | | | | | | | | The expected semantics of c_str() (a null-terminated string) cannot be satisfied with a string reference, so remove the function entirely to prevent people from using it in buggy ways. Replaces c_str() with data() in places where it is presumed safe, otherwise constructs temporary string instances. Certain callsites have been de-stringref'd in favor of regular strings, in particular where C APIs have been transitively called. The vast majority of these were called with string parameters anyway, so should not cause much extra allocation. | ||||
* | some more cleanup | Arne Juul | 2018-06-20 | 1 | -3/+0 |
| | |||||
* | add and use HDR_ABORT instead | Arne Juul | 2018-06-20 | 2 | -5/+5 |
| |