org.apache.sysds.runtime.io

## Class TensorReader

- java.lang.Object
- - org.apache.sysds.runtime.io.TensorReader

- Direct Known Subclasses:
    TensorReaderBinaryBlock, TensorReaderTextCell

      public abstract class TensorReader
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TensorReader()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract TensorBlock` | `readTensorFromHDFS(String fname, long[] dims, int blen, Types.ValueType[] schema)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TensorReader

          public TensorReader()

  - ### Method Detail

    - #### readTensorFromHDFS

          public abstract TensorBlock readTensorFromHDFS(String fname,
                                                         long[] dims,
                                                         int blen,
                                                         Types.ValueType[] schema)
                                                  throws IOException,
                                                         DMLRuntimeException

      Throws:
        `IOException`
        `DMLRuntimeException`

Copyright © 2020 The Apache Software Foundation. All rights reserved.