Class/Object

ksb.csle.component.runner.analysis

TensorflowRunner

Related Docs: object TensorflowRunner | package analysis

Permalink

final class TensorflowRunner[P] extends BaseRunner[SparkSession, P, Any]

:: ApplicationDeveloperApi ::

Runner that creates command-line and calls tensorflow with python code

Linear Supertypes
BaseRunner[SparkSession, P, Any], BaseDoer, Logging, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TensorflowRunner
  2. BaseRunner
  3. BaseDoer
  4. Logging
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TensorflowRunner(o: P)

    Permalink

    o

    Object that contains message ksb.csle.common.proto.RunnerProto.TensorflowRunnerInfo TensorflowRunnerInfo containing attributes are as follows:

    • pyEntryPath: Python file path for python code that will be called by process (required)
    • cluster: Mode flag that indicates tensorflow cluster. Default value is false. If it is true, distributed tensorflow model will be used. If you set CODDL-enable tensorflow cluster, you can set as true, but it's not, you should set it false.
    • host: A series of hosts consisting of Tensorflow cluster (optional/repeated).
    • inJson: Flag that indicates the way to pass parameter to tensorflow. If it is true, json-style parameters to be passed to tensorflow, and it is false, command-line parameter key-value pair will be passed.
    • tfVersion: Tensorflow version (optional)

    TensorflowRunnerInfo

    message TensorflowRunnerInfo {
     required string pyEntryPath = 1;
     optional bool cluster = 2 [default = false];
     repeated string host = 3;
     optional bool inJson = 4 [default = false];
     optional string tfVersion = 5 [default = "r1.3"];
    }

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getSession: SparkSession

    Permalink
    Definition Classes
    TensorflowRunner → BaseRunner
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. def init(_params: Any): Any

    Permalink
    Definition Classes
    TensorflowRunner → BaseRunner
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def run(data: Any): Any

    Permalink

    Executes process call by command-line when controller calls this.

    Executes process call by command-line when controller calls this.

    data

    Data

    returns

    Any value

    Definition Classes
    TensorflowRunner → BaseRunner
  19. def stop: Unit

    Permalink
    Definition Classes
    TensorflowRunner → BaseRunner
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from BaseRunner[SparkSession, P, Any]

Inherited from BaseDoer

Inherited from Logging

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped