SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-lang-core
/
sk.ainet.context
/
ExecutionObserverRegistry
Execution
Observer
Registry
class
ExecutionObserverRegistry
(
source
)
Registry maintaining execution observers and providing helper methods to broadcast events.
Members
Constructors
Execution
Observer
Registry
Link copied to clipboard
constructor
(
)
Functions
clear
Link copied to clipboard
fun
clear
(
)
notify
Op
Link copied to clipboard
fun
<
R
>
notifyOp
(
context
:
ExecutionContext
,
opName
:
String
,
inputs
:
List
<
Tensor
<
*
,
*
>
>
,
block
:
(
)
->
R
)
:
R
notify
Tensor
Materialized
Link copied to clipboard
fun
notifyTensorMaterialized
(
context
:
ExecutionContext
,
tensor
:
Tensor
<
*
,
*
>
)
register
Link copied to clipboard
fun
register
(
observer
:
ExecutionObserver
)
unregister
Link copied to clipboard
fun
unregister
(
observer
:
ExecutionObserver
)