|
|
@@ -39,6 +39,12 @@ namespace Tensorflow.Keras.Engine |
|
|
|
set => optimizer = value; |
|
|
|
} |
|
|
|
|
|
|
|
public bool Stop_training |
|
|
|
{ |
|
|
|
get => stop_training; |
|
|
|
set => stop_training = value; |
|
|
|
} |
|
|
|
|
|
|
|
public Model(ModelArgs args) |
|
|
|
: base(args) |
|
|
|
{ |
|
|
@@ -145,10 +151,5 @@ namespace Tensorflow.Keras.Engine |
|
|
|
return children; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void IModel.set_stopTraining_true() |
|
|
|
{ |
|
|
|
stop_training = true; |
|
|
|
} |
|
|
|
} |
|
|
|
} |