Skip to content

Commit

Permalink
Use double instead of float
Browse files Browse the repository at this point in the history
  • Loading branch information
omalleyt12 committed Sep 28, 2019
1 parent d07a716 commit 85521a3
Show file tree
Hide file tree
Showing 2 changed files with 787 additions and 7 deletions.
14 changes: 7 additions & 7 deletions kerastuner/protos/kerastuner.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ enum Sampling {

message Float {
string name = 1;
float min_value = 2;
float max_value = 3;
float step = 4;
double min_value = 2;
double max_value = 3;
double step = 4;
Sampling sampling = 5;
float default = 6;
double default = 6;
}

message Int {
Expand All @@ -47,7 +47,7 @@ message Choice {
string name = 1;

message FloatValues {
repeated float values = 1;
repeated double values = 1;
}
message IntValues {
repeated sint64 values = 1;
Expand All @@ -63,7 +63,7 @@ message Choice {

oneof default {
sint64 int_default = 5;
float float_default = 6;
double float_default = 6;
string string_default = 7;
}

Expand All @@ -81,7 +81,7 @@ message HyperParameters {
repeated Choice choice_space = 3;
repeated Boolean boolean_space = 4;

map<string, float> float_values = 5;
map<string, double> float_values = 5;
map<string, sint64> int_values = 6;
map<string, string> string_values = 7;
map<string, bool> boolean_values = 8;
Expand Down
Loading

0 comments on commit 85521a3

Please sign in to comment.