SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-lang-core
/
sk.ainet.context
/
data
data
fun
data
(
executionContext
:
ExecutionContext
=
DefaultDataExecutionContext()
,
content
:
DataContextDsl
.
(
executionContext
:
ExecutionContext
)
->
Unit
)
(
source
)
inline
fun
<
T
:
DType
,
V
>
data
(
executionContext
:
ExecutionContext
=
DefaultDataExecutionContext()
,
noinline
content
:
TypedDataContextDsl
<
T
,
V
>
.
(
executionContext
:
ExecutionContext
)
->
Tensor
<
T
,
V
>
)
:
Tensor
<
T
,
V
>
(
source
)