diff --git a/python/paddle/distributed/auto_parallel/tuner/recorder.py b/python/paddle/distributed/auto_parallel/tuner/recorder.py index 140336566a146776f805f7b546fe6bb39c267861..d0f181a6354136a37fba5af4c6ef2d172958a202 100644 --- a/python/paddle/distributed/auto_parallel/tuner/recorder.py +++ b/python/paddle/distributed/auto_parallel/tuner/recorder.py @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Notice that the following codes are modified from KerasTuner for a different purpose. +# Please refer to https://github.com/keras-team/keras-tuner/blob/master/keras_tuner/engine/metrics_tracking.py. + import numpy as np diff --git a/python/paddle/distributed/auto_parallel/tuner/storable.py b/python/paddle/distributed/auto_parallel/tuner/storable.py index d61e53a02724088c89f2e8cfafc91ca0047aa967..63e5eba77f15ca1ccf666cdb2b244266bbe37d97 100644 --- a/python/paddle/distributed/auto_parallel/tuner/storable.py +++ b/python/paddle/distributed/auto_parallel/tuner/storable.py @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Notice that the following codes are modified from KerasTuner for a different purpose. +# Please refer to https://github.com/keras-team/keras-tuner/blob/master/keras_tuner/engine/metrics_tracking.py. + import json diff --git a/python/paddle/distributed/auto_parallel/tuner/trial.py b/python/paddle/distributed/auto_parallel/tuner/trial.py index 22a6638c5ca63b953dcac3d62c564acf6087a305..1cda82f1edec97ebea026917d14edec10377e40a 100644 --- a/python/paddle/distributed/auto_parallel/tuner/trial.py +++ b/python/paddle/distributed/auto_parallel/tuner/trial.py @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Notice that the following codes are modified from KerasTuner to implement our own tuner. +# Please refer to https://github.com/keras-team/keras-tuner/blob/master/keras_tuner/engine/trial.py. + import hashlib import random import time diff --git a/python/paddle/distributed/auto_parallel/tuner/tunable_space.py b/python/paddle/distributed/auto_parallel/tuner/tunable_space.py index f63364c5b75ef03a81d8b293515f3bc5a55fce78..2838a0195843380c4b9aec72f454ffd79aa22624 100644 --- a/python/paddle/distributed/auto_parallel/tuner/tunable_space.py +++ b/python/paddle/distributed/auto_parallel/tuner/tunable_space.py @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Notice that the following codes are modified from KerasTuner to implement our own tuner. +# Please refer to https://github.com/keras-team/keras-tuner/blob/master/keras_tuner/engine/hyperparameters.py. + import collections import contextlib import copy diff --git a/python/paddle/distributed/auto_parallel/tuner/tunable_variable.py b/python/paddle/distributed/auto_parallel/tuner/tunable_variable.py index 9549b44c48ecb0b04ac22fafa6dcf5b6ff9aa0ae..19f118fdde77a2b2167b0911ca86effd6e178198 100644 --- a/python/paddle/distributed/auto_parallel/tuner/tunable_variable.py +++ b/python/paddle/distributed/auto_parallel/tuner/tunable_variable.py @@ -12,6 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Notice that the following codes are modified from KerasTuner to implement our own tuner. +# Please refer to https://github.com/keras-team/keras-tuner/blob/master/keras_tuner/engine/hyperparameters.py. + import numpy as np