MatchZoo-py
init_doc
Contents:
matchzoo
MatchZoo Model Reference
API Reference
MatchZoo-py
Docs
»
matchzoo.utils.one_hot
Edit on GitHub
matchzoo.utils.one_hot
¶
One hot vectors.
Module Contents
¶
matchzoo.utils.one_hot.
one_hot
(
indices:int
,
num_classes:int
)
→ np.ndarray
¶
Returns:
A one-hot encoded vector.
Read the Docs
v: init_doc
Versions
latest
init_doc
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.