Packages

object MarianTransformer extends ReadablePretrainedMarianMTModel with ReadMarianMTDLModel with ReadSentencePieceModel with Serializable

This is the companion object of MarianTransformer. Please refer to that class for the documentation.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MarianTransformer
  2. Serializable
  3. Serializable
  4. ReadMarianMTDLModel
  5. ReadOnnxModel
  6. ReadSentencePieceModel
  7. ReadTensorflowModel
  8. ReadablePretrainedMarianMTModel
  9. HasPretrained
  10. ParamsAndFeaturesReadable
  11. DefaultParamsReadable
  12. MLReadable
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addReader(reader: (MarianTransformer, String, SparkSession) ⇒ Unit): Unit
    Definition Classes
    ParamsAndFeaturesReadable
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. val defaultLang: String
  8. lazy val defaultLoc: String
    Definition Classes
    HasPretrained
  9. val defaultModelName: Some[String]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def load(path: String): MarianTransformer
    Definition Classes
    MLReadable
    Annotations
    @Since( "1.6.0" )
  17. def loadSavedModel(modelPath: String, spark: SparkSession): MarianTransformer
    Definition Classes
    ReadMarianMTDLModel
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val onnxDecoderFile: String
    Definition Classes
    ReadMarianMTDLModel
  22. val onnxEncoderFile: String
    Definition Classes
    ReadMarianMTDLModel
  23. val onnxFile: String
    Definition Classes
    ReadMarianMTDLModelReadOnnxModel
  24. def pretrained(name: String, lang: String, remoteLoc: String): MarianTransformer

    Java default argument interoperability

    Java default argument interoperability

    Definition Classes
    ReadablePretrainedMarianMTModelHasPretrained
  25. def pretrained(name: String, lang: String): MarianTransformer
  26. def pretrained(name: String): MarianTransformer
  27. def pretrained(): MarianTransformer

    Java compliant-overrides

    Java compliant-overrides

    Definition Classes
    ReadablePretrainedMarianMTModelHasPretrained
  28. def read: MLReader[MarianTransformer]
    Definition Classes
    ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable
  29. def readModel(instance: MarianTransformer, path: String, spark: SparkSession): Unit
    Definition Classes
    ReadMarianMTDLModel
  30. def readOnnxModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, modelName: Option[String] = None, tmpFolder: Option[String] = None, dataFilePostfix: Option[String] = None): OnnxWrapper
    Definition Classes
    ReadOnnxModel
  31. def readOnnxModels(path: String, spark: SparkSession, modelNames: Seq[String], suffix: String, zipped: Boolean = true, useBundle: Boolean = false, dataFilePostfix: String = "_data"): Map[String, OnnxWrapper]
    Definition Classes
    ReadOnnxModel
  32. def readSentencePieceModel(path: String, spark: SparkSession, suffix: String, filename: String): SentencePieceWrapper
    Definition Classes
    ReadSentencePieceModel
  33. def readTensorflowChkPoints(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, tags: Array[String] = Array.empty, initAllTables: Boolean = false): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  34. def readTensorflowHub(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  35. def readTensorflowModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty, initAllTables: Boolean = false, savedSignatures: Option[Map[String, String]] = None): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  36. def readTensorflowWithSPModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty, initAllTables: Boolean = false, loadSP: Boolean = false): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  37. val sppFile: String
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. val tfFile: String
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from ReadMarianMTDLModel

Inherited from ReadOnnxModel

Inherited from ReadSentencePieceModel

Inherited from ReadTensorflowModel

Inherited from DefaultParamsReadable[MarianTransformer]

Inherited from MLReadable[MarianTransformer]

Inherited from AnyRef

Inherited from Any

Ungrouped