Package org.flag4j.io

Class TensorInputStream

java.lang.Object
java.io.InputStream
org.flag4j.io.TensorInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class TensorInputStream extends InputStream
A TensorInputStream obtains bytes from a system file using a FileInputStream containing a serialized tensor, matrix, or vector. Then, deserializes that object using an ObjectInputStream.