sealed trait PredictDoFn[T, V, M <: Model[_]] extends DoFnWithResource[T, V, Resource[M]]
- Source
- TensorFlowDoFns.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PredictDoFn
- DoFnWithResource
- DoFn
- HasDisplayData
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- abstract class FinishBundleContext extends AnyRef
- Definition Classes
- DoFn
- abstract class OnTimerContext extends WindowedContext
- Definition Classes
- DoFn
- abstract class OnWindowExpirationContext extends WindowedContext
- Definition Classes
- DoFn
- abstract class ProcessContext extends WindowedContext
- Definition Classes
- DoFn
- abstract class StartBundleContext extends AnyRef
- Definition Classes
- DoFn
- abstract class WindowedContext extends AnyRef
- Definition Classes
- DoFn
Abstract Value Members
- abstract def extractInput(input: T): Map[String, Tensor]
- abstract def extractOutput(input: T, out: Map[String, Tensor]): V
- abstract def loadModel(): M
- abstract def modelId: String
- abstract def outputTensorNames: Seq[String]
- abstract def withRunner(f: (Runner) => V): V
- abstract object FinishBundleContext
- Definition Classes
- DoFn
- abstract object ProcessContext
- Definition Classes
- DoFn
- abstract object StartBundleContext
- Definition Classes
- DoFn
- abstract object WindowedContext
- Definition Classes
- DoFn
Concrete 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(classOf[java.lang.CloneNotSupportedException]) @native()
- def closeResource(resource: Resource[M]): Unit
Close resource.
Close resource.
Default implementation closes
AutoCloseable
resource.- Definition Classes
- DoFnWithResource
- def createResource(): Resource[M]
Create resource.
Create resource.
DoFnWithResource#getResourceType()
determines how many times this is called.- Definition Classes
- PredictDoFn → DoFnWithResource
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getInputTypeDescriptor(): TypeDescriptor[T]
- Definition Classes
- DoFn
- def getOutputTypeDescriptor(): TypeDescriptor[V]
- Definition Classes
- DoFn
- def getResource(): Resource[M]
Get managed resource.
Get managed resource.
- Definition Classes
- DoFnWithResource
- Annotations
- @SuppressWarnings()
- def getResourceType(): ResourceType
Get resource type.
Get resource type.
- Definition Classes
- PredictDoFn → DoFnWithResource
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def model: M
- 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()
- def populateDisplayData(builder: Builder): Unit
- Definition Classes
- DoFnWithResource → DoFn → HasDisplayData
- Annotations
- @Override()
- def processElement(input: T, out: OutputReceiver[V]): Unit
Process an element asynchronously.
Process an element asynchronously.
- Annotations
- @ProcessElement()
- def setup(): Unit
- Definition Classes
- PredictDoFn → DoFnWithResource
- Annotations
- @Setup()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def teardown(): Unit
- Definition Classes
- PredictDoFn → DoFnWithResource
- Annotations
- @Teardown()
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()