"tests/vscode:/vscode.git/clone" did not exist on "1ac07d8a8dd38fb155da48e5aafbfb63b3958520"
Commit 5629410a authored by xuehui1991's avatar xuehui1991 Committed by xuehui
Browse files

fix tab problem

parent 8507b946
...@@ -51,7 +51,7 @@ INDEX = '_index' ...@@ -51,7 +51,7 @@ INDEX = '_index'
def json2space(in_x, name=ROOT): def json2space(in_x, name=ROOT):
''' '''
Change json to search space in hyperopt. Change json to search space in hyperopt.
''' '''
out_y = copy.deepcopy(in_x) out_y = copy.deepcopy(in_x)
if isinstance(in_x, dict): if isinstance(in_x, dict):
if TYPE in in_x.keys(): if TYPE in in_x.keys():
...@@ -78,7 +78,7 @@ def json2space(in_x, name=ROOT): ...@@ -78,7 +78,7 @@ def json2space(in_x, name=ROOT):
def json2paramater(in_x, paramater, name=ROOT): def json2paramater(in_x, paramater, name=ROOT):
''' '''
Change json to parameters. Change json to parameters.
''' '''
out_y = copy.deepcopy(in_x) out_y = copy.deepcopy(in_x)
if isinstance(in_x, dict): if isinstance(in_x, dict):
if TYPE in in_x.keys(): if TYPE in in_x.keys():
...@@ -181,7 +181,7 @@ class HyperoptTuner(Tuner): ...@@ -181,7 +181,7 @@ class HyperoptTuner(Tuner):
def generate_parameters(self, parameter_id): def generate_parameters(self, parameter_id):
''' '''
Returns a set of trial (hyper-)parameters, as a serializable object. Returns a set of trial (hyper-)parameters, as a serializable object.
parameter_id : int parameter_id : int
''' '''
rval = self.rval rval = self.rval
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment