tensorflow名稱域name_scope(),variable_scope(),與tf.Variable(),tf.get_variable()

tensorflow的名稱域的聲明有兩種方式:get 1)tf.name_scope("scope_name"):變量 2)tf.variable_scope("scope_name"):tensorflow 定義變量有兩種方式:scope 1)tf.Variable()#變量名可選co 2)tf.get_variable()#變量名必選ab 在variable_scope名稱域中定義變量,則兩種
相關文章
相關標籤/搜索