{"action":"opened","issue":{"url":"https://api.github.com/repos/wenxinxu/resnet-in-tensorflow/issues/19","repository_url":"https://api.github.com/repos/wenxinxu/resnet-in-tensorflow","labels_url":"https://api.github.com/repos/wenxinxu/resnet-in-tensorflow/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/wenxinxu/resnet-in-tensorflow/issues/19/comments","events_url":"https://api.github.com/repos/wenxinxu/resnet-in-tensorflow/issues/19/events","html_url":"https://github.com/wenxinxu/resnet-in-tensorflow/issues/19","id":302670397,"number":19,"title":"function create_variables in resnet.py","user":{"login":"Nina-9519","id":19500637,"avatar_url":"https://avatars2.githubusercontent.com/u/19500637?v=4","gravatar_id":"","url":"https://api.github.com/users/Nina-9519","html_url":"https://github.com/Nina-9519","followers_url":"https://api.github.com/users/Nina-9519/followers","following_url":"https://api.github.com/users/Nina-9519/following{/other_user}","gists_url":"https://api.github.com/users/Nina-9519/gists{/gist_id}","starred_url":"https://api.github.com/users/Nina-9519/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nina-9519/subscriptions","organizations_url":"https://api.github.com/users/Nina-9519/orgs","repos_url":"https://api.github.com/users/Nina-9519/repos","events_url":"https://api.github.com/users/Nina-9519/events{/privacy}","received_events_url":"https://api.github.com/users/Nina-9519/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-06T11:50:00Z","updated_at":"2018-03-06T11:50:00Z","closed_at":null,"author_association":"NONE","body":"--------------------------------------------------------------------------------------------------\r\ndef create_variables(name, shape, initializer=tf.contrib.layers.xavier_initializer(), is_fc_layer=False):\r\n    if is_fc_layer is True:\r\n        **regularizer = tf.contrib.layers.l2_regularizer(scale=FLAGS.weight_decay)**\r\n    else:\r\n        **regularizer = tf.contrib.layers.l2_regularizer(scale=FLAGS.weight_decay)**\r\n\r\n    new_variables = tf.get_variable(name, shape=shape, initializer=initializer,\r\n                                    regularizer=regularizer)\r\n    return new_variables\r\n--------------------------------------------------------------------------------------------------\r\n\r\nThese two lines, the same?"}}
{"actor":{"display_login":"Nina-9519"}}