params_raw = tf.all_variables()
params_init = []
params_load = []
for param in params_raw:
//if "Adadelta" in param.name and ("batch" in param.name or "conv" in param.name):
// params_add.append(param)
//if not "BiRNN" in param.name:
After Change
for param in params_raw:
name = param.name
// to be compatible with old version saved model
if "BiRNN" in name:
name = name.replace("BiRNN/", "BiRNN_")
if ":0" in name:
name = name.replace(":0", "")
params_dict[name] = param
//if "Adadelta" in param.name and ("batch" in param.name or "conv" in param.name):