latest
Tutorial
Installation
Usage
API
Function
Data
Net
Model
Layer
Loss
Utils
scalex.net.utils.onehot
scalex.net.utils.EarlyStopping
Plot
Metric
Logger
News
Release
SCALEX
API
scalex.net.utils.onehot
Edit on GitHub
scalex.net.utils.onehot
scalex.net.utils.
onehot
(
y
,
n
)
Make the input tensor one hot tensors
Parameters
:
y
– input tensors
n
– number of classes
Return type
:
Tensor
Read the Docs
v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds