trait ReadNLLBTransformerDLModel extends ReadOnnxModel with ReadOpenvinoModel with ReadSentencePieceModel
- Self Type
- ReadNLLBTransformerDLModel with ParamsAndFeaturesReadable[NLLBTransformer]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReadNLLBTransformerDLModel
- ReadSentencePieceModel
- ReadOpenvinoModel
- ReadOnnxModel
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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 loadSavedModel(modelPath: String, spark: SparkSession, useOpenvino: Boolean = false): NLLBTransformer
-
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
- ReadNLLBTransformerDLModel → ReadOnnxModel
-
val
openvinoFile: String
- Definition Classes
- ReadNLLBTransformerDLModel → ReadOpenvinoModel
- def readModel(instance: NLLBTransformer, path: String, spark: SparkSession): Unit
-
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
- ReadNLLBTransformerDLModel → ReadSentencePieceModel
- val suffix: String
-
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()