diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-01-10 19:15:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-10 19:15:22 +0100 |
commit | f3b8b754e40c346ca2ea23cf8f114adbbab041a7 (patch) | |
tree | 1aee34e9b0a15e2000054b859dcc80ca5d352c2a /vespajlib/src/main/java/com/yahoo/tensor/serialization/BinaryFormat.java | |
parent | 4a4b1952754ef75b86d35eb1a85bdc180eeb935c (diff) |
Revert "Add (disabled) dense tensor binary format"
Diffstat (limited to 'vespajlib/src/main/java/com/yahoo/tensor/serialization/BinaryFormat.java')
-rw-r--r-- | vespajlib/src/main/java/com/yahoo/tensor/serialization/BinaryFormat.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/tensor/serialization/BinaryFormat.java b/vespajlib/src/main/java/com/yahoo/tensor/serialization/BinaryFormat.java index 9b0ccdcb6c8..f3adf63739a 100644 --- a/vespajlib/src/main/java/com/yahoo/tensor/serialization/BinaryFormat.java +++ b/vespajlib/src/main/java/com/yahoo/tensor/serialization/BinaryFormat.java @@ -4,7 +4,6 @@ package com.yahoo.tensor.serialization; import com.google.common.annotations.Beta; import com.yahoo.io.GrowableByteBuffer; import com.yahoo.tensor.Tensor; -import com.yahoo.tensor.TensorType; /** * Representation of a specific binary format with functions for serializing a Tensor object into @@ -22,10 +21,7 @@ interface BinaryFormat { /** * Deserialize the given binary data into a Tensor object. - * - * @param type the expected abstract type of the tensor to serialize - * @param buffer the buffer containing the tensor binary data */ - Tensor decode(TensorType type, GrowableByteBuffer buffer); + Tensor decode(GrowableByteBuffer buffer); } |