diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-11-28 18:34:17 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-11-28 18:34:17 +0100 |
commit | 67fa513bc95e37a1e3c45715efa6d79e26a5e71c (patch) | |
tree | b479f07d70cc31ccdca4a078295033e099e26243 /vespajlib/src/main/java/com/yahoo/tensor/serialization/BinaryFormat.java | |
parent | ea771fd3d188a370d44884646924fc39f21d55c5 (diff) |
Give tensors a type
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 | 5 |
1 files changed, 3 insertions, 2 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 652874082cf..f3adf63739a 100644 --- a/vespajlib/src/main/java/com/yahoo/tensor/serialization/BinaryFormat.java +++ b/vespajlib/src/main/java/com/yahoo/tensor/serialization/BinaryFormat.java @@ -17,10 +17,11 @@ interface BinaryFormat { /** * Serialize the given tensor into binary format. */ - public void encode(GrowableByteBuffer buffer, Tensor tensor); + void encode(GrowableByteBuffer buffer, Tensor tensor); /** * Deserialize the given binary data into a Tensor object. */ - public Tensor decode(GrowableByteBuffer buffer); + Tensor decode(GrowableByteBuffer buffer); + } |