diff options
author | Jon Bratseth <bratseth@oath.com> | 2021-09-16 14:02:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 14:02:35 +0200 |
commit | 8844518aa559903ed4d7076edbd8e223a39e604c (patch) | |
tree | 40a420ea8771a91f92c34fbdc0183f3bb87c2a4f /vespajlib | |
parent | b9b2d10776ded0d34a2f0b944d3edba972114b5c (diff) | |
parent | 8e7357639fcc2805f867162ae62d710888606d56 (diff) |
Merge pull request #19169 from vespa-engine/bratseth/encode-to-tensor
Bratseth/encode to tensor
Diffstat (limited to 'vespajlib')
-rw-r--r-- | vespajlib/src/main/java/com/yahoo/tensor/IndexedTensor.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/tensor/IndexedTensor.java b/vespajlib/src/main/java/com/yahoo/tensor/IndexedTensor.java index d822a5c6b8b..b618f935f5c 100644 --- a/vespajlib/src/main/java/com/yahoo/tensor/IndexedTensor.java +++ b/vespajlib/src/main/java/com/yahoo/tensor/IndexedTensor.java @@ -401,8 +401,6 @@ public abstract class IndexedTensor implements Tensor { TensorType type(); - - /** Sets a value by its <i>standard value order</i> index */ void cellByDirectIndex(long index, double value); @@ -414,7 +412,7 @@ public abstract class IndexedTensor implements Tensor { /** A bound builder can create the double array directly */ public static abstract class BoundBuilder extends Builder implements DirectIndexBuilder { - private DimensionSizes sizes; + private final DimensionSizes sizes; private static DimensionSizes dimensionSizesOf(TensorType type) { DimensionSizes.Builder b = new DimensionSizes.Builder(type.dimensions().size()); |