summaryrefslogtreecommitdiff
path: root/app/relay/modules/test.js
blob: 5619159a8e7ffc8140ec4c6035680cef66f894ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import path from 'path'

const name = 'test'
const cwd = process.env.TEST_CWD || process.cwd() + '/test/module/'

const cpu = {
	type: 'perl',
  script: 'test.pl',
  params: '--train',
}
const gpu = {
	type: 'python',
  script: 'test.pl',
  params: '--test',
}
const live = {
	type: 'pytorch',
  script: 'test.py',
}

export default {
	name, cwd,
	activities: {
		cpu, gpu, live,
	}
}