SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-lang-core
/
sk.ainet.lang.nn.layers
/
Embedding
/
forwardAny
forward
Any
fun
forwardAny
(
input
:
Tensor
<
out
DType
,
V
>
,
ctx
:
ExecutionContext
,
strict
:
Boolean
=
true
)
:
Tensor
<
OutT
,
V
>
(
source
)
Accepts any tensor and validates/coerces to indices in strict mode. Useful for legacy FP tensors.