aboutsummaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/tensor/MixedTensor.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2020-09-03 12:01:39 +0200
committerJon Bratseth <bratseth@gmail.com>2020-09-03 12:01:39 +0200
commit91b2cf49d8e25c378f4aa00833ca8245f9c1ca65 (patch)
treed316b36715016249a4db13f5aebf0805967a2dad /vespajlib/src/main/java/com/yahoo/tensor/MixedTensor.java
parentbed63d34ef760934ba45bb80d36699345c9416f5 (diff)
Use the tensor type to switch tensor binary format
The binary format of a tensor should depend on the tensor type, not the implementation type as the API permits the user choosing that (and it may not be 1-1 anyway). This makes this change for sparse tensors using the mixed implementation type but not dense tensors using the mixed implementation type as that would be more work given the unfinished state of the mixed implementation.
Diffstat (limited to 'vespajlib/src/main/java/com/yahoo/tensor/MixedTensor.java')
-rw-r--r--vespajlib/src/main/java/com/yahoo/tensor/MixedTensor.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/tensor/MixedTensor.java b/vespajlib/src/main/java/com/yahoo/tensor/MixedTensor.java
index 1ec4993bf57..f608aead347 100644
--- a/vespajlib/src/main/java/com/yahoo/tensor/MixedTensor.java
+++ b/vespajlib/src/main/java/com/yahoo/tensor/MixedTensor.java
@@ -152,7 +152,6 @@ public class MixedTensor implements Tensor {
return index.denseSubspaceSize();
}
-
/**
* Base class for building mixed tensors.
*/