Fix mistake in backend documentation
The comments for all-zeros and all-ones were reversed in backend.md
This commit is contained in:
parent
61b30997eb
commit
0f42d2db90
@ -49,9 +49,9 @@ val = np.random.random((3, 4, 5))
|
||||
var = K.variable(value=val)
|
||||
|
||||
# all-zeros variable:
|
||||
var = K.ones(shape=(3, 4, 5))
|
||||
# all-ones:
|
||||
var = K.zeros(shape=(3, 4, 5))
|
||||
# all-ones:
|
||||
var = K.ones(shape=(3, 4, 5))
|
||||
```
|
||||
|
||||
Most tensor operations you will need can be done as you would in TensorFlow or Theano:
|
||||
|
Loading…
Reference in New Issue
Block a user