object M2M100Transformer extends ReadablePretrainedM2M100TransformerModel with ReadM2M100TransformerDLModel with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- M2M100Transformer
- Serializable
- Serializable
- ReadM2M100TransformerDLModel
- ReadSentencePieceModel
- ReadOpenvinoModel
- ReadOnnxModel
- ReadablePretrainedM2M100TransformerModel
- HasPretrained
- ParamsAndFeaturesReadable
- DefaultParamsReadable
- MLReadable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addReader(reader: (M2M100Transformer, String, SparkSession) ⇒ Unit): Unit
- Definition Classes
- ParamsAndFeaturesReadable
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
val
defaultLang: String
- Definition Classes
- ReadablePretrainedM2M100TransformerModel → HasPretrained
-
lazy val
defaultLoc: String
- Definition Classes
- HasPretrained
-
val
defaultModelName: Some[String]
- Definition Classes
- ReadablePretrainedM2M100TransformerModel → HasPretrained
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
load(path: String): M2M100Transformer
- Definition Classes
- MLReadable
- Annotations
- @Since( "1.6.0" )
-
def
loadSavedModel(modelPath: String, spark: SparkSession, useOpenvino: Boolean = false): M2M100Transformer
- Definition Classes
- ReadM2M100TransformerDLModel
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
onnxFile: String
- Definition Classes
- ReadM2M100TransformerDLModel → ReadOnnxModel
-
val
openvinoFile: String
- Definition Classes
- ReadM2M100TransformerDLModel → ReadOpenvinoModel
-
def
pretrained(name: String, lang: String, remoteLoc: String): M2M100Transformer
Java default argument interoperability
Java default argument interoperability
- Definition Classes
- ReadablePretrainedM2M100TransformerModel → HasPretrained
-
def
pretrained(name: String, lang: String): M2M100Transformer
- Definition Classes
- ReadablePretrainedM2M100TransformerModel → HasPretrained
-
def
pretrained(name: String): M2M100Transformer
- Definition Classes
- ReadablePretrainedM2M100TransformerModel → HasPretrained
-
def
pretrained(): M2M100Transformer
Java compliant-overrides
Java compliant-overrides
- Definition Classes
- ReadablePretrainedM2M100TransformerModel → HasPretrained
-
def
read: MLReader[M2M100Transformer]
- Definition Classes
- ParamsAndFeaturesReadable → DefaultParamsReadable → MLReadable
-
def
readModel(instance: M2M100Transformer, path: String, spark: SparkSession): Unit
- Definition Classes
- ReadM2M100TransformerDLModel
-
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
-
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
-
def
readOpenvinoModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true): OpenvinoWrapper
- Definition Classes
- ReadOpenvinoModel
-
def
readOpenvinoModels(path: String, spark: SparkSession, modelNames: Seq[String], suffix: String, zipped: Boolean = true): Map[String, OpenvinoWrapper]
- Definition Classes
- ReadOpenvinoModel
-
def
readSentencePieceModel(path: String, spark: SparkSession, suffix: String, filename: String): SentencePieceWrapper
- Definition Classes
- ReadSentencePieceModel
-
val
sppFile: String
- Definition Classes
- ReadM2M100TransformerDLModel → ReadSentencePieceModel
-
val
suffix: String
- Definition Classes
- ReadM2M100TransformerDLModel
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()