Create test_sdk_full.py

This commit is contained in:
PSBigBig 2025-06-10 17:35:06 +08:00 committed by GitHub
parent 4dbec6f7bf
commit 8e5b6c8216
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

13
test_sdk_full.py Normal file
View file

@ -0,0 +1,13 @@
# test_sdk_full.py
import numpy as np
from wfgy_sdk import enable
model = {
"I": np.array([1.2, 0.7, 0.5]),
"G": np.array([1.0, 0.6, 0.4]),
"state": np.array([0.1, 0.2, 0.3]),
"attention_logits": np.array([1.2, 0.9, 1.1])
}
model = enable(model)