You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/templates/backend.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ Keras is a model-level library, providing high-level building blocks for develop
6
6
7
7
At this time, Keras has three backend implementations available: the **TensorFlow** backend, the **Theano** backend, and the **CNTK** backend.
8
8
9
-
-[TensorFlow](http://www.tensorflow.org/) is an open-source symbolic tensor manipulation framework developed by Google, Inc.
10
-
-[Theano](http://deeplearning.net/software/theano/) is an open-source symbolic tensor manipulation framework developed by LISA/MILA Lab at Université de Montréal.
11
-
-[CNTK](https://www.microsoft.com/en-us/cognitive-toolkit/) is an open-source, commercial-grade toolkit for deep learning developed by Microsoft.
9
+
-[TensorFlow](http://www.tensorflow.org/) is an open-source symbolic tensor manipulation framework developed by Google.
10
+
-[Theano](http://deeplearning.net/software/theano/) is an open-source symbolic tensor manipulation framework developed by LISA Lab at Université de Montréal.
11
+
-[CNTK](https://www.microsoft.com/en-us/cognitive-toolkit/) is an open-source toolkit for deep learning developed by Microsoft.
12
12
13
13
In the future, we are likely to add more backend options.
14
14
@@ -22,7 +22,7 @@ If you have run Keras at least once, you will find the Keras configuration file
22
22
23
23
If it isn't there, you can create it.
24
24
25
-
**NOTE for Windows Users:** Please change`$HOME` with `%USERPROFILE%`.
25
+
**NOTE for Windows Users:** Please replace`$HOME` with `%USERPROFILE%`.
26
26
27
27
The default configuration file looks like this:
28
28
@@ -50,6 +50,8 @@ Using TensorFlow backend.
50
50
## keras.json details
51
51
52
52
53
+
The `keras.json` configuration file contains the following settings:
54
+
53
55
```
54
56
{
55
57
"image_data_format": "channels_last",
@@ -61,12 +63,12 @@ Using TensorFlow backend.
61
63
62
64
You can change these settings by editing `$HOME/.keras/keras.json`.
63
65
64
-
*`image_data_format`: string, either `"channels_last"` or `"channels_first"`. It specifies which data format convention Keras will follow. (`keras.backend.image_data_format()` returns it.)
66
+
*`image_data_format`: String, either `"channels_last"` or `"channels_first"`. It specifies which data format convention Keras will follow. (`keras.backend.image_data_format()` returns it.)
65
67
- For 2D data (e.g. image), `"channels_last"` assumes `(rows, cols, channels)` while `"channels_first"` assumes `(channels, rows, cols)`.
66
68
- For 3D data, `"channels_last"` assumes `(conv_dim1, conv_dim2, conv_dim3, channels)` while `"channels_first"` assumes `(channels, conv_dim1, conv_dim2, conv_dim3)`.
67
-
*`epsilon`: float, a numeric fuzzing constant used to avoid dividing by zero in some operations.
68
-
*`floatx`: string, `"float16"`, `"float32"`, or `"float64"`. Default float precision.
69
-
*`backend`: string, `"tensorflow"`, `"theano"`, or `"cntk"`.
69
+
*`epsilon`: Float, a numeric fuzzing constant used to avoid dividing by zero in some operations.
70
+
*`floatx`: String, `"float16"`, `"float32"`, or `"float64"`. Default float precision.
71
+
*`backend`: String, `"tensorflow"`, `"theano"`, or `"cntk"`.
0 commit comments