SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-io-core
/
sk.ainet.io
/
ParametersLoader
Parameters
Loader
interface
ParametersLoader
(
source
)
Inheritors
JsonParametersLoader
Members
Members & Extensions
Functions
load
Link copied to clipboard
abstract
suspend
fun
<
T
:
DType
,
V
>
load
(
ctx
:
ExecutionContext
,
dtype
:
KClass
<
T
>
,
onTensorLoaded
:
(
String
,
Tensor
<
T
,
V
>
)
->
Unit
)
load
Link copied to clipboard
inline suspend
fun
<
T
:
DType
,
V
>
ParametersLoader
.
load
(
ctx
:
ExecutionContext
,
noinline
onTensorLoaded
:
(
String
,
Tensor
<
T
,
V
>
)
->
Unit
)