7ab8bc6a70982aa79c36c20678c98becb7f291b1,deepctr/estimator/utils.py,,get_GraphKeys,#,179
Before Change
def get_GraphKeys():
if tf.__version__ < "2.0.0":
return tf.GraphKeys
else:
return tf.compat.v1.GraphKeys
def get_losses():
if tf.__version__ < "2.0.0":
return tf.losses
else:
After Change
def get_GraphKeys():
try:
return tf.GraphKeys
except AttributeError:
return tf.compat.v1.GraphKeys
def get_losses():
try:
return tf.compat.v1.losses
except AttributeError:
In pattern: SUPERPATTERN
Frequency: 12
Non-data size: 5
Instances
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/estimator/utils.py
Class Name:
Method Name: get_GraphKeys
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/estimator/utils.py
Class Name:
Method Name: get_losses
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/estimator/utils.py
Class Name:
Method Name: to_float
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/layers/utils.py
Class Name:
Method Name: reduce_mean
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/layers/utils.py
Class Name:
Method Name: reduce_sum
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/estimator/utils.py
Class Name:
Method Name: get_metrics
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/estimator/utils.py
Class Name:
Method Name: input_layer
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/layers/utils.py
Class Name:
Method Name: softmax
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/layers/utils.py
Class Name:
Method Name: div
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/layers/utils.py
Class Name:
Method Name: reduce_max
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/estimator/utils.py
Class Name:
Method Name: get_collection
Project Name: shenweichen/DeepCTR
Commit Name: 7ab8bc6a70982aa79c36c20678c98becb7f291b1
Time: 2020-09-11
Author: wcshen1994@163.com
File Name: deepctr/estimator/utils.py
Class Name:
Method Name: variable_scope