diff --git a/common.py b/common.py index 90696e0..d2a2dcf 100644 --- a/common.py +++ b/common.py @@ -1,3 +1,9 @@ +####################################################################### +# Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) # +# Permission given to modify the code as long as you keep this # +# declaration at the top # +####################################################################### + import tensorflow as tf def fully_connected(model_name, layer_name, var_in, dim_in, dim_out, diff --git a/dqn_agent.py b/dqn_agent.py index c19ae49..181c120 100644 --- a/dqn_agent.py +++ b/dqn_agent.py @@ -1,3 +1,9 @@ +####################################################################### +# Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) # +# Permission given to modify the code as long as you keep this # +# declaration at the top # +####################################################################### + import tensorflow as tf from network import * from replay import * diff --git a/network.py b/network.py index 8ba8484..9ad55cc 100644 --- a/network.py +++ b/network.py @@ -1,3 +1,9 @@ +####################################################################### +# Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) # +# Permission given to modify the code as long as you keep this # +# declaration at the top # +####################################################################### + import tensorflow as tf from common import * diff --git a/policy.py b/policy.py index 530feb4..f3da4fe 100644 --- a/policy.py +++ b/policy.py @@ -1,3 +1,9 @@ +####################################################################### +# Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) # +# Permission given to modify the code as long as you keep this # +# declaration at the top # +####################################################################### + import numpy as np class GreedyPolicy: diff --git a/replay.py b/replay.py index 788a399..69234e5 100644 --- a/replay.py +++ b/replay.py @@ -1,3 +1,9 @@ +####################################################################### +# Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) # +# Permission given to modify the code as long as you keep this # +# declaration at the top # +####################################################################### + import numpy as np class Replay: diff --git a/task.py b/task.py index 1eac951..4234229 100644 --- a/task.py +++ b/task.py @@ -1,3 +1,9 @@ +####################################################################### +# Copyright (C) 2017 Shangtong Zhang(zhangshangtong.cpp@gmail.com) # +# Permission given to modify the code as long as you keep this # +# declaration at the top # +####################################################################### + import gym import sys from dqn_agent import *