上一页 1 2 3 4 5 6 7 ··· 10 下一页

2017年12月2日

摘要: TensorFlow是一个采用数据流图,用于数值计算的开源软件库。自己接触tensorflow比较的早,可是并没有系统深入的学习过,现在TF在深度学习已经成了“标配”,所以打算系统的学习一遍。在本篇文章中主要介绍TF的基础知识。。。 创建并运行图 首先创建 两个变量 然而, 中并没有得到想要的结果, 阅读全文
posted @ 2017-12-02 22:49 Wanna_Go 阅读(3346) 评论(0) 推荐(0) 编辑

2017年11月30日

摘要: We define the Perfect Number is a positive integer that is equal to the sum of all its positive divisors except itself. Now, given an integer n, write 阅读全文
posted @ 2017-11-30 20:25 Wanna_Go 阅读(237) 评论(0) 推荐(0) 编辑

2017年11月26日

摘要: Symptom Dos和Linux下面的断行字符是不一样的,至于哪里不一样的呢,先举个例子看一看 Cause 我们也可以使用 分别查看Dos和Linux下创建的文件,会发现Dos下面以 作为断行符,称为 两个字符(\r\n),Linux下面仅以 作为断行符(\n)。这个断行符对Linux影响是很大的 阅读全文
posted @ 2017-11-26 14:53 Wanna_Go 阅读(1002) 评论(0) 推荐(0) 编辑

2017年11月21日

摘要: Given an array of integers nums, write a method that returns the "pivot" index of this array. We define the pivot index as the index where the sum of 阅读全文
posted @ 2017-11-21 09:21 Wanna_Go 阅读(318) 评论(0) 推荐(0) 编辑

2017年11月19日

摘要: Given a binary tree, determine if it is height balanced. For this problem, a height balanced binary tree is defined as a binary tree in which the dept 阅读全文
posted @ 2017-11-19 21:31 Wanna_Go 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 目录 "掌握numpy(一)" "掌握numpy(二)" "掌握numpy(三)" "掌握numpy(四)" 数组的累加(拼接) 在前面讲了使用切片方法能够对数组进行切分,使用 对切片的数组进行复制,那么数组该如何拼接呢? vstack 竖直方向拼接数组 hstack 使用 从水平方向拼接数组 co 阅读全文
posted @ 2017-11-19 20:43 Wanna_Go 阅读(1836) 评论(0) 推荐(0) 编辑

2017年11月18日

摘要: 目录 "掌握numpy(一)" "掌握numpy(二)" "掌握numpy(三)" "掌握numpy(四)" 统计功能 前面都是介绍numpy的一些特性,被称为数学运算神器怎么能少了统计功能呢 ndarray的方法 上面 没有指定参数,是将ndarray中得所有值相加,求得均值 上面数据是2维的,如 阅读全文
posted @ 2017-11-18 23:23 Wanna_Go 阅读(1949) 评论(0) 推荐(0) 编辑

2017年11月17日

摘要: 目录 "掌握numpy(一)" "掌握numpy(二)" "掌握numpy(三)" "掌握numpy(四)" 数组的reshape 顾名思义,就是对数组的形状进行改变,比如行变成列,一行变多行等。 in place 通过使用 的`shape size`大小一样 进行变换 元素以及大小未发生变化,ra 阅读全文
posted @ 2017-11-17 15:10 Wanna_Go 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 目录 "掌握numpy(一)" "掌握numpy(二)" "掌握numpy(三)" "掌握numpy(四)" 是一款用于科学计算的python包,强大之处在于矩阵的运算以及包含丰富的线性代数运算的支持。本文将对numpy一些常用的用法进行讲解,一来是对自己的知识进行梳理,二来作为一份 供以后查阅,如 阅读全文
posted @ 2017-11-17 15:09 Wanna_Go 阅读(1196) 评论(1) 推荐(1) 编辑

2017年11月14日

摘要: Remove all elements from a linked list of integers that have value val . Example Given: 1 2 6 3 4 5 6, val = 6 Return: 1 2 3 4 5 一个链表删除给定的元素。 还可以使用递归方 阅读全文
posted @ 2017-11-14 20:33 Wanna_Go 阅读(205) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页

导航