Search code examples
cntk

What is the difference between Parameter and ParameterTensor?


Following the CNTK docs (revision date 27 Aug 2016), it is mentioned that the way to create parameters is

x = ParameterTensor {dim}

Also on the specific docs about parameters this is the only mentioned way of doing it. Still, in the first docs mentioned and also on the talk by Frank Seide, parameter construction is done with

x = Parameter (dim)

What is the difference between those two? Is the latter deprecated?

Also, these docs also mention that Parameter does not accept a variable number of arguments so it should be used as Parameter(dim,1). I guess this is a breaking change between versions (revision date is Sep 2016 and the talk and examples containing the one argument call are a few months older).


Solution

  • Yes Parameter is deprecated. Use ParameterTensor instead. Sorry about the breaking change too.