SKaiNET
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
SKaiNET
skainet-lang-core
/
sk.ainet.java
/
TrainingLoop
/
step
step
jvm
fun
step
(
x
:
Tensor
<
*
,
*
>
,
y
:
Tensor
<
*
,
*
>
)
:
Float
(
source
)
Perform a single training step.
Return
The loss value as a float.
Parameters
x
Input tensor.
y
Target tensor.