跑程序时候,由tensorflow转为pytorch时候遇到的问题
自学过程中,遇到的磕磕绊绊,记下来就不会还给百度,记不住。**问题1:在tensorflow中有with tf.variable_scope(): 用来共享参数,在转为pytorch时候,应该怎么考虑。比如下面例子 ,在tensorflow中使用卷积层.# char embedding## [batch_size*max_utter_num*max_utter_len, emb]utterances_cnn_char_emb = cnn_layer(utterances_char_embedd