Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Read and modify the training weights from Python
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)