com.intel.analytics.bigdl.utils

File

object File

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. File
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. def load[T](fileName: String): T

    Load a scala object from a local/hdfs/s3 path.

    Load a scala object from a local/hdfs/s3 path.

    Notice: S3 path should be like s3a://bucket/xxx.

    See (hadoop aws)[http://hadoop.apache.org/docs/r2.7.3/hadoop-aws/tools/hadoop-aws/index.html] for details, if you want to load model from s3.

    fileName

    file name.

  15. def loadFromHdfs[T](fileName: String): T

    Load file from HDFS

    Load file from HDFS

    fileName

  16. def loadTorch[T](fileName: String): T

    Load torch object from a torch binary file

    Load torch object from a torch binary file

    fileName

    file name.

    returns

    An instance of T

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def readBytes[T](fileName: String): Array[Byte]

  21. def readHdfsByte(fileName: String): Array[Byte]

    load binary file from HDFS

    load binary file from HDFS

    fileName
    returns

  22. def save(obj: Serializable, fileName: String, isOverwrite: Boolean = false): Unit

    Save scala object into a local/hdfs/s3 path

    Save scala object into a local/hdfs/s3 path

    Notice: S3 path should be like s3a://bucket/xxx.

    See (hadoop aws)[http://hadoop.apache.org/docs/r2.7.3/hadoop-aws/tools/hadoop-aws/index.html] for details, if you want to save model to s3.

    obj

    object to be saved.

    fileName

    local/hdfs output path.

    isOverwrite

    if overwrite.

  23. def saveBytes(bytes: Array[Byte], fileName: String, isOverwrite: Boolean = false): Unit

  24. def saveToHdfs(obj: Serializable, fileName: String, overwrite: Boolean): Unit

    Write file to HDFS.

    Write file to HDFS.

    obj
    fileName
    overwrite

  25. def saveTorch(source: Any, fileName: String, objectType: TorchObject, overWrite: Boolean = false): Unit

    Save scala object into a torch binary file

    Save scala object into a torch binary file

    source

    The object to be saved.

    fileName

    file name to saving.

    objectType

    The object type.

    overWrite

    If over write.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped