forked from keras-team/keras-io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodels_master.py
59 lines (58 loc) · 2.1 KB
/
models_master.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
MODELS_MASTER = {
'path': 'models/',
'title': 'Models API', # TODO
'toc': True,
'children': [
{
'path': 'model',
'title': 'The Model class', # TODO
'generate': [
'tensorflow.keras.Model',
'tensorflow.keras.Model.summary',
'tensorflow.keras.Model.get_layer',
]
},
{
'path': 'sequential',
'title': 'The Sequential class', # TODO
'generate': [
'tensorflow.keras.Sequential',
'tensorflow.keras.Sequential.add',
'tensorflow.keras.Sequential.pop',
]
},
{
'path': 'model_training_apis',
'title': 'Model training APIs', # TODO
'generate': [
'tensorflow.keras.Model.compile',
'tensorflow.keras.Model.fit',
'tensorflow.keras.Model.evaluate',
'tensorflow.keras.Model.predict',
'tensorflow.keras.Model.train_on_batch',
'tensorflow.keras.Model.test_on_batch',
'tensorflow.keras.Model.predict_on_batch',
'tensorflow.keras.Model.run_eagerly',
]
},
{
'path': 'model_saving_apis',
'title': 'Model saving & serialization APIs', # TODO
'generate': [
'tensorflow.keras.Model.save',
'tensorflow.keras.models.save_model',
'tensorflow.keras.models.load_model',
'tensorflow.keras.Model.get_weights',
'tensorflow.keras.Model.set_weights',
'tensorflow.keras.Model.save_weights',
'tensorflow.keras.Model.load_weights',
'tensorflow.keras.Model.get_config',
'tensorflow.keras.Model.from_config',
'tensorflow.keras.models.model_from_config',
'tensorflow.keras.Model.to_json',
'tensorflow.keras.models.model_from_json',
'tensorflow.keras.models.clone_model',
]
},
]
}