摘要: class Solution(object): def search(self, nums, target): """ :type nums: List[int] :type target: int :rtype: int """ left, right = 0, len(nums) - ... 阅读全文
posted @ 2019-02-25 19:32 anobscureretreat 阅读(180) 评论(0) 推荐(0)
摘要: 加入参数 阅读全文
posted @ 2019-02-25 19:01 anobscureretreat 阅读(1311) 评论(0) 推荐(0)
摘要: 如果提示如下 解决方法 参考: https://blog.csdn.net/u014610925/article/details/79642076 https://blog.csdn.net/haoyu_does/article/details/79779773 阅读全文
posted @ 2019-02-25 19:00 anobscureretreat 阅读(144) 评论(0) 推荐(0)
摘要: 解决方法: 如果安装的是GPU版本 如果你有一个GPU,你不应该关心AVX的支持,因为大多数昂贵的操作将被分派到一个GPU设备上(除非明确地设置)。在这种情况下,您可以简单地忽略此警告: 如果安装的是CPU版本(pip install tensorflow) 1.在代码中加入如下代码,忽略警告: 2 阅读全文
posted @ 2019-02-25 18:58 anobscureretreat 阅读(1155) 评论(0) 推荐(0)