Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add numpy bincount docstrings #655

Merged
merged 4 commits into from
Aug 2, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Correct a mistake in keras_core.ops.average's docstring.
  • Loading branch information
dranaivo committed Aug 1, 2023
commit 91a9e671e66f9bf6be35538075c1c37ff3903fac
2 changes: 1 addition & 1 deletion keras_core/ops/numpy.py
Original file line number Diff line number Diff line change
@@ -1128,7 +1128,7 @@ def average(x, axis=None, weights=None):
Args:
x: Input tensor.
axis: Integer along which to average `x`. The default, `axis=None`,
will average over all of the elements of the input tendor. If axis
will average over all of the elements of the input tensor. If axis
is negative it counts from the last to the first axis.
weights: Tensor of wieghts associated with the values in `x`. Each
value in `x` contributes to the average according to its