-
Notifications
You must be signed in to change notification settings - Fork 4.3k
How do I Adapt models in Python
Allison Brucker (Resources Online) edited this page May 30, 2017
·
5 revisions
This page has migrated to our new site. Please update any bookmarks.
Read and modify the training weights from Python
from cntk import *
p=parameter(5, init=glorot_uniform())
p.value
>>>result: array([-0.7146188 , 0.59619093, 0.95851505, 0.29351783, 0.13692594], dtype=float32)
p.value = np.ones(5)