Skip to content

Commit

Permalink
[keras/layers/preprocessing/hashing.py] Use backticks for defaults in…
Browse files Browse the repository at this point in the history
… docstrings
  • Loading branch information
SamuelMarks committed Apr 23, 2023
1 parent 2aec8c1 commit a1925ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keras/layers/preprocessing/hashing.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ class Hashing(base_layer.Layer):
bin, so the effective number of bins is `(num_bins - 1)` if `mask_value`
is set.
mask_value: A value that represents masked inputs, which are mapped to
index 0. None means no mask term will be added and the
index 0. `None` means no mask term will be added and the
hashing will start at index 0. Defaults to `None`.
salt: A single unsigned integer or None.
If passed, the hash function used will be SipHash64, with these values
used as an additional input (known as a "salt" in cryptography).
These should be non-zero. If None, uses the FarmHash64 hash function.
These should be non-zero. If `None`, uses the FarmHash64 hash function.
It also supports tuple/list of 2 unsigned integer numbers, see
reference paper for details. Defaults to `None`.
output_mode: Specification for the output of the layer. Values can bes
Expand Down

0 comments on commit a1925ec

Please sign in to comment.