diff --git a/rl_coach/architectures/mxnet_components/architecture.py b/rl_coach/architectures/mxnet_components/architecture.py index 6c64a31..c3eee87 100644 --- a/rl_coach/architectures/mxnet_components/architecture.py +++ b/rl_coach/architectures/mxnet_components/architecture.py @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + import copy from typing import Any, Dict, Generator, List, Tuple, Union diff --git a/rl_coach/architectures/mxnet_components/heads/head.py b/rl_coach/architectures/mxnet_components/heads/head.py index d6757ba..dd97912 100644 --- a/rl_coach/architectures/mxnet_components/heads/head.py +++ b/rl_coach/architectures/mxnet_components/heads/head.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + from typing import Dict, List, Union, Tuple import mxnet as mx diff --git a/rl_coach/architectures/mxnet_components/heads/ppo_head.py b/rl_coach/architectures/mxnet_components/heads/ppo_head.py index 18fb40f..a6d66e4 100644 --- a/rl_coach/architectures/mxnet_components/heads/ppo_head.py +++ b/rl_coach/architectures/mxnet_components/heads/ppo_head.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + from typing import List, Tuple, Union from types import ModuleType diff --git a/rl_coach/architectures/mxnet_components/heads/ppo_v_head.py b/rl_coach/architectures/mxnet_components/heads/ppo_v_head.py index a353cc9..a07cfdf 100644 --- a/rl_coach/architectures/mxnet_components/heads/ppo_v_head.py +++ b/rl_coach/architectures/mxnet_components/heads/ppo_v_head.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + from typing import List, Tuple, Union from types import ModuleType diff --git a/rl_coach/architectures/mxnet_components/heads/q_head.py b/rl_coach/architectures/mxnet_components/heads/q_head.py index 88e107f..3ec741c 100644 --- a/rl_coach/architectures/mxnet_components/heads/q_head.py +++ b/rl_coach/architectures/mxnet_components/heads/q_head.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + from typing import Union, List, Tuple from types import ModuleType diff --git a/rl_coach/architectures/mxnet_components/heads/v_head.py b/rl_coach/architectures/mxnet_components/heads/v_head.py index 35107c4..9c6dda5 100644 --- a/rl_coach/architectures/mxnet_components/heads/v_head.py +++ b/rl_coach/architectures/mxnet_components/heads/v_head.py @@ -1,3 +1,19 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + from typing import Union, List, Tuple from types import ModuleType diff --git a/rl_coach/architectures/mxnet_components/layers.py b/rl_coach/architectures/mxnet_components/layers.py index 233d225..60a982a 100644 --- a/rl_coach/architectures/mxnet_components/layers.py +++ b/rl_coach/architectures/mxnet_components/layers.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + """ Module implementing basic layers in mxnet """ diff --git a/rl_coach/architectures/mxnet_components/middlewares/fc_middleware.py b/rl_coach/architectures/mxnet_components/middlewares/fc_middleware.py index de3377f..ecf6b80 100644 --- a/rl_coach/architectures/mxnet_components/middlewares/fc_middleware.py +++ b/rl_coach/architectures/mxnet_components/middlewares/fc_middleware.py @@ -1,3 +1,19 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + """ Module that defines the fully-connected middleware class """ diff --git a/rl_coach/architectures/mxnet_components/middlewares/lstm_middleware.py b/rl_coach/architectures/mxnet_components/middlewares/lstm_middleware.py index b8316d4..3bd3a1d 100644 --- a/rl_coach/architectures/mxnet_components/middlewares/lstm_middleware.py +++ b/rl_coach/architectures/mxnet_components/middlewares/lstm_middleware.py @@ -1,3 +1,19 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + """ Module that defines the LSTM middleware class """ diff --git a/rl_coach/architectures/mxnet_components/middlewares/middleware.py b/rl_coach/architectures/mxnet_components/middlewares/middleware.py index dd31b38..a1b3f5c 100644 --- a/rl_coach/architectures/mxnet_components/middlewares/middleware.py +++ b/rl_coach/architectures/mxnet_components/middlewares/middleware.py @@ -1,3 +1,19 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + from typing import Union from types import ModuleType diff --git a/rl_coach/architectures/mxnet_components/savers.py b/rl_coach/architectures/mxnet_components/savers.py index 74f3895..2ab6f74 100644 --- a/rl_coach/architectures/mxnet_components/savers.py +++ b/rl_coach/architectures/mxnet_components/savers.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + from typing import Any, List, Tuple from mxnet import gluon, sym diff --git a/rl_coach/architectures/mxnet_components/utils.py b/rl_coach/architectures/mxnet_components/utils.py index 6388b82..8a92b6a 100644 --- a/rl_coach/architectures/mxnet_components/utils.py +++ b/rl_coach/architectures/mxnet_components/utils.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + """ Module defining utility functions """ diff --git a/rl_coach/architectures/tensorflow_components/layers.py b/rl_coach/architectures/tensorflow_components/layers.py index 1156937..39e9980 100644 --- a/rl_coach/architectures/tensorflow_components/layers.py +++ b/rl_coach/architectures/tensorflow_components/layers.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + import math from types import FunctionType from typing import Any diff --git a/rl_coach/architectures/tensorflow_components/savers.py b/rl_coach/architectures/tensorflow_components/savers.py index 4f30fe5..38a36ee 100644 --- a/rl_coach/architectures/tensorflow_components/savers.py +++ b/rl_coach/architectures/tensorflow_components/savers.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + from typing import Any, List import tensorflow as tf diff --git a/rl_coach/dashboard_components/boards.py b/rl_coach/dashboard_components/boards.py index f582849..16ce883 100644 --- a/rl_coach/dashboard_components/boards.py +++ b/rl_coach/dashboard_components/boards.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + from bokeh.layouts import column from bokeh.models.widgets import Panel, Tabs from rl_coach.dashboard_components.experiment_board import experiment_board_layout diff --git a/rl_coach/dashboard_components/episodic_board.py b/rl_coach/dashboard_components/episodic_board.py index 7bbc0da..dee1d5b 100644 --- a/rl_coach/dashboard_components/episodic_board.py +++ b/rl_coach/dashboard_components/episodic_board.py @@ -1,3 +1,19 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + from bokeh.layouts import row, column, widgetbox, Spacer from bokeh.models import ColumnDataSource, Range1d, LinearAxis, Legend diff --git a/rl_coach/dashboard_components/experiment_board.py b/rl_coach/dashboard_components/experiment_board.py index 7a5ba52..b1d8285 100644 --- a/rl_coach/dashboard_components/experiment_board.py +++ b/rl_coach/dashboard_components/experiment_board.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + import copy import datetime import os diff --git a/rl_coach/dashboard_components/globals.py b/rl_coach/dashboard_components/globals.py index 6a98cc6..cde05a6 100644 --- a/rl_coach/dashboard_components/globals.py +++ b/rl_coach/dashboard_components/globals.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + import os from genericpath import isdir, isfile from os import listdir diff --git a/rl_coach/dashboard_components/landing_page.py b/rl_coach/dashboard_components/landing_page.py index a315868..4013b89 100644 --- a/rl_coach/dashboard_components/landing_page.py +++ b/rl_coach/dashboard_components/landing_page.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + from bokeh.layouts import row, column from bokeh.models.widgets import Div diff --git a/rl_coach/dashboard_components/signals.py b/rl_coach/dashboard_components/signals.py index 14f0cc8..d752d00 100644 --- a/rl_coach/dashboard_components/signals.py +++ b/rl_coach/dashboard_components/signals.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + import random import numpy as np diff --git a/rl_coach/dashboard_components/signals_file.py b/rl_coach/dashboard_components/signals_file.py index d951625..d0a102c 100644 --- a/rl_coach/dashboard_components/signals_file.py +++ b/rl_coach/dashboard_components/signals_file.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + import os from os.path import basename diff --git a/rl_coach/dashboard_components/signals_file_base.py b/rl_coach/dashboard_components/signals_file_base.py index cc0fd96..29ce4dc 100644 --- a/rl_coach/dashboard_components/signals_file_base.py +++ b/rl_coach/dashboard_components/signals_file_base.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + import numpy as np from bokeh.models import ColumnDataSource diff --git a/rl_coach/dashboard_components/signals_files_group.py b/rl_coach/dashboard_components/signals_files_group.py index 8f9e293..c0939ae 100644 --- a/rl_coach/dashboard_components/signals_files_group.py +++ b/rl_coach/dashboard_components/signals_files_group.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + import os from multiprocessing import Process, Manager from os.path import basename diff --git a/rl_coach/data_stores/data_store.py b/rl_coach/data_stores/data_store.py index b9e19ea..3b5bef8 100644 --- a/rl_coach/data_stores/data_store.py +++ b/rl_coach/data_stores/data_store.py @@ -1,3 +1,19 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + from enum import Enum diff --git a/rl_coach/data_stores/data_store_impl.py b/rl_coach/data_stores/data_store_impl.py index eb50d21..18ebbca 100644 --- a/rl_coach/data_stores/data_store_impl.py +++ b/rl_coach/data_stores/data_store_impl.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + from rl_coach.data_stores.nfs_data_store import NFSDataStore, NFSDataStoreParameters from rl_coach.data_stores.s3_data_store import S3DataStore, S3DataStoreParameters from rl_coach.data_stores.data_store import DataStoreParameters diff --git a/rl_coach/data_stores/nfs_data_store.py b/rl_coach/data_stores/nfs_data_store.py index 31f19f5..5463eca 100644 --- a/rl_coach/data_stores/nfs_data_store.py +++ b/rl_coach/data_stores/nfs_data_store.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + import uuid from rl_coach.data_stores.data_store import DataStore, DataStoreParameters diff --git a/rl_coach/data_stores/s3_data_store.py b/rl_coach/data_stores/s3_data_store.py index 0186e3c..589ee5f 100644 --- a/rl_coach/data_stores/s3_data_store.py +++ b/rl_coach/data_stores/s3_data_store.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + from rl_coach.data_stores.data_store import DataStore, DataStoreParameters from minio import Minio from minio.error import ResponseError diff --git a/rl_coach/memories/backend/memory.py b/rl_coach/memories/backend/memory.py index da8f8ce..e5f25c7 100644 --- a/rl_coach/memories/backend/memory.py +++ b/rl_coach/memories/backend/memory.py @@ -1,3 +1,18 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# class MemoryBackendParameters(object): diff --git a/rl_coach/memories/backend/memory_impl.py b/rl_coach/memories/backend/memory_impl.py index 7470ef5..40f161e 100644 --- a/rl_coach/memories/backend/memory_impl.py +++ b/rl_coach/memories/backend/memory_impl.py @@ -1,3 +1,19 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + from rl_coach.memories.backend.memory import MemoryBackendParameters from rl_coach.memories.backend.redis import RedisPubSubBackend, RedisPubSubMemoryBackendParameters diff --git a/rl_coach/memories/backend/redis.py b/rl_coach/memories/backend/redis.py index bd777bd..cbc9dfc 100644 --- a/rl_coach/memories/backend/redis.py +++ b/rl_coach/memories/backend/redis.py @@ -1,3 +1,19 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + import redis import pickle diff --git a/rl_coach/memories/non_episodic/transition_collection.py b/rl_coach/memories/non_episodic/transition_collection.py index 4ce1574..4ae97cf 100644 --- a/rl_coach/memories/non_episodic/transition_collection.py +++ b/rl_coach/memories/non_episodic/transition_collection.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + from rl_coach.core_types import Transition diff --git a/rl_coach/orchestrators/deploy.py b/rl_coach/orchestrators/deploy.py index 36b8b34..ecf0331 100644 --- a/rl_coach/orchestrators/deploy.py +++ b/rl_coach/orchestrators/deploy.py @@ -1,3 +1,18 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# diff --git a/rl_coach/orchestrators/kubernetes_orchestrator.py b/rl_coach/orchestrators/kubernetes_orchestrator.py index bbfc41d..e69851c 100644 --- a/rl_coach/orchestrators/kubernetes_orchestrator.py +++ b/rl_coach/orchestrators/kubernetes_orchestrator.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + import os import uuid import json diff --git a/rl_coach/rollout_worker.py b/rl_coach/rollout_worker.py index 549b0a1..6d53e02 100644 --- a/rl_coach/rollout_worker.py +++ b/rl_coach/rollout_worker.py @@ -1,3 +1,19 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + """ this rollout worker: diff --git a/rl_coach/saver.py b/rl_coach/saver.py index 856e75e..b346d7c 100644 --- a/rl_coach/saver.py +++ b/rl_coach/saver.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + """ Module for abstract base class for checkpoint object and checkpoint collection """ diff --git a/rl_coach/training_worker.py b/rl_coach/training_worker.py index 17d6d1e..1626eee 100644 --- a/rl_coach/training_worker.py +++ b/rl_coach/training_worker.py @@ -1,3 +1,20 @@ +# +# Copyright (c) 2017 Intel Corporation +# +# 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. +# + + """ """ import time