SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-compile-json
/
sk.ainet.execute.context.dsl
/
ComputationContextDsl
Computation
Context
Dsl
interface
ComputationContextDsl
:
ContextDslItem
(
source
)
Members
Members & Extensions
Functions
tensor
Link copied to clipboard
abstract
fun
<
T
:
DType
,
V
>
tensor
(
dtype
:
KClass
<
T
>
,
content
:
TensorFactoryContext
<
T
,
V
>
.
(
)
->
Tensor
<
T
,
V
>
)
:
Tensor
<
T
,
V
>
tensor
Link copied to clipboard
inline
fun
<
T
:
DType
,
V
>
ComputationContextDsl
.
tensor
(
noinline
content
:
TensorFactoryContext
<
T
,
V
>
.
(
)
->
Tensor
<
T
,
V
>
)
:
Tensor
<
T
,
V
>