摘要:
list comprehension 快许多,大概是因为少了中间建立新list的步骤 横坐标数据规模,纵坐标秒 import timeit import matplotlib.pyplot as plt from tqdm import tqdm_notebook as tqdm def s(): 阅读全文
摘要:
Xiao H, Huang M, Zhu X. TransG: A generative model for knowledge graph embedding[C]//Proceedings of the 54th Annual Meeting of the Association for Com 阅读全文
摘要:
def adjust_learning_rate(optimizer, epoch): """Sets the learning rate to the initial LR decayed by 10 every 30 epochs""" lr = args.lr * (0.1 ** (epoch 阅读全文