Skip to content

Commit

Permalink
Merge pull request keras-team#1176 from dsteiner93/master
Browse files Browse the repository at this point in the history
Fix mistake in backend documentation
  • Loading branch information
fchollet committed Dec 5, 2015
2 parents 61b3099 + 0f42d2d commit ada2f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sources/backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ada2f2f

Please sign in to comment.