Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ScriptContext

The context of script running.

Hierarchy

  • ScriptContext

Index

Properties

Properties

taskType

taskType: TaskType

workspace

workspace: { cacheDir: string; dataDir: string; frameworkDir: string; modelDir: string }

The workspace for the pipeline. There are some directories to save temporary files.

Type declaration

  • cacheDir: string

    Cache directory, every sample passed to the model script will be cached into the cache directory, so, the dataflow scripts will not be executed again after the fisrt epoch.

  • dataDir: string

    Dataset directory, should save the dataset files here.

  • frameworkDir: string

    framework directory

  • modelDir: string

    The model file should be saved here.

Generated using TypeDoc