09 2018 档案

摘要:转自:分布式进程 - 廖雪峰的官方网站 在Thread和Process中,应当优选Process,因为Process更稳定,而且,Process可以分布到多台机器上,而Thread最多只能分布到同一台机器的多个CPU上。 Python的 multiprocessing 模块不但支持多进程,其中 ma 阅读全文
posted @ 2018-09-29 10:09 焦距 阅读(296) 评论(0) 推荐(0) 编辑
摘要:w3m是一个基于文本的网页浏览器,支持多种操作系统,在命令行终端可以很好的支持中文。即使在没有鼠标支持的情况下也可以检查网页的输出。 1. 安装w3m 2. w3m的常用使用操作 2.1 查看帮助信息 2.2 打开指定网页地址 可以通过滚动鼠标、按箭头键移动光标或点击所需的位置将光标移动到那里。 2 阅读全文
posted @ 2018-09-25 14:37 焦距 阅读(6708) 评论(0) 推荐(0) 编辑
摘要:1. 模型原理 1.1 论文 Yoon Kim在论文(2014 EMNLP) Convolutional Neural Networks for Sentence Classification提出TextCNN。 将卷积神经网络CNN应用到文本分类任务,利用多个不同size的kernel来提取句子中 阅读全文
posted @ 2018-09-20 14:52 焦距 阅读(80795) 评论(3) 推荐(7) 编辑
摘要:题目大意 https://leetcode.com/problems/kth-smallest-element-in-a-bst/description/ 230. Kth Smallest Element in a BST Given a binary search tree, write a f 阅读全文
posted @ 2018-09-18 10:04 焦距 阅读(785) 评论(0) 推荐(0) 编辑
摘要:问题描述 程序开始运行的时候报出警告:I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to 阅读全文
posted @ 2018-09-17 15:47 焦距 阅读(1092) 评论(0) 推荐(0) 编辑
摘要:转自:https://zhidao.baidu.com/question/935674859160973732/answer/2895447719?fr=index_ans 问题描述:重装系统后找不到硬盘 我用的是三星R425-JU05笔记本电脑WIN7系统。我将硬盘一键分四区后重装成XP系统,结果 阅读全文
posted @ 2018-09-17 14:20 焦距 阅读(1103) 评论(0) 推荐(0) 编辑
摘要:转自:https://blog.csdn.net/u010887744/article/details/45270245 今天给一朋友重装系统,华硕FX50J,修改BIOS重装了win7,结果所有USB接口均无法使用,鼠标键盘U盘都成了摆设,再次重装还是如此,恢复BIOS依旧没用。打了两次华硕技术客 阅读全文
posted @ 2018-09-17 14:14 焦距 阅读(2527) 评论(0) 推荐(0) 编辑
摘要:题目大意 https://leetcode.com/problems/generate-parentheses/description/ 22. Generate Parentheses Given n pairs of parentheses, write a function to genera 阅读全文
posted @ 2018-09-14 10:08 焦距 阅读(306) 评论(0) 推荐(0) 编辑
摘要:题目大意 https://leetcode.com/problems/unique-paths/description/ 62. Unique Paths A robot is located at the top-left corner of a m x n grid (marked 'Start 阅读全文
posted @ 2018-09-12 16:10 焦距 阅读(364) 评论(0) 推荐(0) 编辑
摘要:题目大意 https://leetcode.com/problems/find-the-duplicate-number/description/ 287. Find the Duplicate Number Given an array nums containing n + 1 integers 阅读全文
posted @ 2018-09-07 10:42 焦距 阅读(880) 评论(0) 推荐(0) 编辑
摘要:题目大意 https://leetcode.com/problems/product-of-array-except-self/description/ 238. Product of Array Except Self Given an array nums of n integers where 阅读全文
posted @ 2018-09-06 10:43 焦距 阅读(493) 评论(0) 推荐(0) 编辑
摘要:题目大意 https://leetcode.com/problems/binary-tree-inorder-traversal/description/ 94. Binary Tree Inorder Traversal Given a binary tree, return the inorde 阅读全文
posted @ 2018-09-05 11:20 焦距 阅读(665) 评论(0) 推荐(0) 编辑
摘要:题目大意 https://leetcode.com/problems/count-primes/description/ 204. Count Primes Count the number of prime numbers less than a non-negative number, n. E 阅读全文
posted @ 2018-09-04 10:05 焦距 阅读(675) 评论(0) 推荐(0) 编辑
摘要:英文原文:PEP 8 -- Style Guide for Python Code 1. Introduction 介绍 本文提供的Python代码编码规范基于Python主要发行版本的标准库。Python的C语言实现的C代码规范请查看相应的PEP指南1。 这篇文档以及PEP 257(文档字符串的规 阅读全文
posted @ 2018-09-03 19:58 焦距 阅读(22474) 评论(2) 推荐(6) 编辑
摘要:本篇博客比较了常见的5种开源协议的异同,大家在为自己的代码选择协议的时候可以参考。现今存在的开源协议很多,而经过Open Source Initiative组织通过批准的开源协议目前有58种(http://www.opensource.org/licenses/alphabetical)。我们在常见 阅读全文
posted @ 2018-09-03 16:03 焦距 阅读(470) 评论(0) 推荐(0) 编辑