summaryrefslogtreecommitdiffstats
path: root/lualib/lua_util.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-09 15:40:15 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-09 15:40:15 +0100
commit0b37952e903a227ed0ba7d1386b9241d2fe0e446 (patch)
tree931b2e7b25577d17054e12f72a1e5b523acc5a37 /lualib/lua_util.lua
parentda9dae40e27383d7e646558fae2c708ec20b03c0 (diff)
downloadrspamd-0b37952e903a227ed0ba7d1386b9241d2fe0e446.tar.gz
rspamd-0b37952e903a227ed0ba7d1386b9241d2fe0e446.zip
[Feature] Allow to load and use dynamic ANNs with torch
Diffstat (limited to 'lualib/lua_util.lua')
-rw-r--r--lualib/lua_util.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua
index a9abd901a..f048432bf 100644
--- a/lualib/lua_util.lua
+++ b/lualib/lua_util.lua
@@ -1,3 +1,19 @@
+--[[
+Copyright (c) 2017, Vsevolod Stakhov <vsevolod@highsecure.ru>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+]]--
+
local exports = {}
local lpeg = require 'lpeg'