diff options
Diffstat (limited to 'app/relay/modules/test.js')
| -rw-r--r-- | app/relay/modules/test.js | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/app/relay/modules/test.js b/app/relay/modules/test.js index bfac514..6c94a0c 100644 --- a/app/relay/modules/test.js +++ b/app/relay/modules/test.js @@ -3,26 +3,18 @@ import path from 'path' const name = 'test' const cwd = process.env.TEST_CWD || './test/module/' -const dataset = { +const cpu = { type: 'perl', script: 'test.pl', params: (task) => { } } -const train = { - type: 'perl', +const gpu = { + type: 'python', script: 'test.pl', params: (task) => { } } -const generate = { - type: 'perl', - script: 'test.pl', -} -const render = { - type: 'perl', - script: 'test.pl', -} const live = { type: 'pytorch', script: 'test.py', @@ -31,6 +23,6 @@ const live = { export default { name, cwd, activities: { - dataset, train, generate, render, live, + cpu, gpu, live, } } |
