add doc string for Squencial
@@ -27,9 +27,19 @@ class Sequential(Model):
Parameters
----------
- conn :
- layers :
- model_name :
+ conn : CAS
+ Specifies the CAS connection object
+ layers : list of Layer objects.
+ Specifies the layers of the sequential model.
+ model_name : string, optional
+ Specifies the name of the cas table that stores the deep learning model.
+ Default : None
+ model_weights : CASTable or string or dict
+ Specifies the CASTable containing weights of the deep learning model.
+ If not specified, random initial will be used.
+ Default : None
+ caslib : string, optional
+ Specifies the name of the cas library that store the model table.
Returns
-------
@@ -37,8 +47,8 @@ class Sequential(Model):
'''
- def __init__(self, conn, layers=None, model_name=None):
- Model.__init__(self, conn, model_name=model_name)
+ def __init__(self, conn, layers=None, model_name=None, caslib=None):
+ Model.__init__(self, conn, model_name=model_name, caslib=caslib)
if layers is None:
self.layers = []
@@ -182,4 +192,3 @@ class Sequential(Model):
print('NOTE : Model compiled successfully.')
self.layers = compiled_layers
-
