-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinit.lua
69 lines (54 loc) · 1.52 KB
/
init.lua
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
------------------------------------------------
-- Preamble
------------------------------------------------
--[[
Initializer for gpTorch7 package.
There's probably a better way to do this...
To Do:
- Add rockspec etc.
- Neural net demo
Authored: 2015-09-12 (jwilson)
Modified: 2015-09-24
--]]
---------------- External Dependencies
require('paths')
------------------------------------------------
-- Initializer
------------------------------------------------
gpTorch7 = gpTorch7 or {}
--------------------------------
-- Standalone Modules
--------------------------------
gpTorch7['utils'] = gpTorch7.utils or require('gpTorch7_utils.lua')
--------------------------------
-- Class Modules
--------------------------------
if not gpTorch7.models then
gpTorch7['models'] = require('models/init.lua')
models = nil
end
if not gpTorch7.kernels then
gpTorch7['kernels'] = require('kernels/init.lua')
kernels = nil
end
if not gpTorch7.means then
gpTorch7['means'] = require('means/init.lua')
means = nil
end
if not gpTorch7.grids then
gpTorch7['grids'] = require('grids/init.lua')
grids = nil
end
if not gpTorch7.scores then
gpTorch7['scores'] = require('scores/init.lua')
scores = nil
end
if not gpTorch7.samplers then
gpTorch7['samplers'] = require('samplers/init.lua')
samplers = nil
end
if not gpTorch7.scientists then
gpTorch7['scientists'] = require('scientists/init.lua')
scientists = nil
end
return gpTorch7