Object

com.intel.analytics.bigdl.utils

File

Related Doc: package utils

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink

    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.

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

    Permalink

    Load file from HDFS

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

    Permalink

    Load torch object from a torch binary file

    Load torch object from a torch binary file

    fileName

    file name.

    returns

    An instance of T

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

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

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

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

    Permalink

    load binary file from HDFS

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

    Permalink

    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.

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

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

    Permalink

    Write file to HDFS.

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

    Permalink

    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.

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped