object TensorflowWrapper extends Serializable
Companion object
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TensorflowWrapper
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- val InitAllTableOP: String
- val SaveConstOP: String
- val SaveControlDependenciesOP: String
- val SaveRestoreAllOP: String
- val SavedModelPB: String
- val TFVarsSuffix: String
- val VariablesIdxValue: String
- val VariablesKey: String
- val VariablesPathValue: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extractVariablesSavedModel(session: Session): Variables
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def read(file: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty[String], initAllTables: Boolean = false, savedSignatures: Option[Map[String, String]] = None): (TensorflowWrapper, Option[Map[String, String]])
Read method to create tmp folder, unpack archive and read file as SavedModelBundle
Read method to create tmp folder, unpack archive and read file as SavedModelBundle
- file
: the file to read
- zipped
: boolean flag to know if compression is applied
- useBundle
: whether to use the SaveModelBundle object to parse the TF saved model
- tags
: tags to retrieve on the model bundle
- initAllTables
: boolean flag whether to retrieve the TF init operation
- returns
Returns a greeting based on the
namefield.
- def readChkPoints(file: String, zipped: Boolean = true, tags: Array[String] = Array.empty[String], initAllTables: Boolean = false): TensorflowWrapper
- def readGraph(graphFile: String): Graph
Utility method to load a Graph from path
- def readWithSP(file: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty[String], initAllTables: Boolean = false, loadSP: Boolean = false): TensorflowWrapper
- def readZippedSavedModel(rootDir: String = "", fileName: String = "", tags: Array[String] = Array.empty[String], initAllTables: Boolean = false): TensorflowWrapper
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withSafeSavedModelBundleLoader(tags: Array[String], savedModelDir: String): SavedModelBundle
Utility method to load the TF saved model bundle
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)