aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/global_functions.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/global_functions.lua
parentda9dae40e27383d7e646558fae2c708ec20b03c0 (diff)
downloadrspamd-0b37952e903a227ed0ba7d1386b9241d2fe0e446.tar.gz
rspamd-0b37952e903a227ed0ba7d1386b9241d2fe0e446.zip
[Feature] Allow to load and use dynamic ANNs with torch
Diffstat (limited to 'lualib/global_functions.lua')
-rw-r--r--lualib/global_functions.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/lualib/global_functions.lua b/lualib/global_functions.lua
index 6476a17c8..956db8bed 100644
--- a/lualib/global_functions.lua
+++ b/lualib/global_functions.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 logger = require "rspamd_logger"
local lua_util = require "lua_util"
local lua_redis = require "lua_redis"