onTensorMaterialized

open fun onTensorMaterialized(context: ExecutionContext, tensor: Tensor<*, *>)(source)

Called whenever a tensor is materialised inside the context (e.g. as the result of an operation or via factory helpers).