原创 記憶網絡之Neural Turing Machines
記憶網絡之Neural Turing Machines 前面介紹了Memory Networks相關的幾篇文獻,接下來讓我們從新回到Memory的起點,也就是DeepMind在14年發表的“Neural Turing Machin
原创 深度學習裝機、系統、環境配置指南--預算15000
隨着要處理的任務越來越複雜,對計算能力要求越來越高,所以最近萌生了要自己配一臺深度學習主機的想法。只是苦於一直沒有錢==然後很幸運的被評上了國獎,果斷入手!!!!然後就是歷時一週的各種查資料看博客上京東看價錢的來回對比,終於從一個
原创 leetcode題解-binary search題目總結
前面一段時間刷完了二叉搜索部分的題目,現在閒下來寫一個總結貼,主要針對這部分題目類型以及所使用的方法。 有序數組查找目標值索引 首先來說最簡單的binary-search,應用在有序數組查找target值等問題中,一般會有兩種解法
原创 leetcode題解-606. Construct String from Binary Tree && 657. Judge Route Circle
這兩道題目都相對比較簡單,所以就一起總結一下,先來看第一道: 606,construct string from binary tree,題目: You need to construct a string consists o
原创 leetcode題解-410. Split Array Largest Sum
題目: Given an array which consists of non-negative integers and an integer m, you can split the array into m non-emp
原创 leetcode題解-483. Smallest Good Base
題目: For an integer n, we call k>=2 a good base of n, if all digits of n base k are 1. Now given a string represent
原创 leetcode題解-696. Count Binary Substrings
從今天開始刷字符串部分的題目,這部分我會記錄每一題的簡短思路,方便最後寫一個總結性的博客。接下來先看一下第一道題696. Count Binary Substrings: 題目: Give a string s, count th
原创 leetcode題解-151. Reverse Words in a String && 557. Reverse Words in a String III
這兩道題目都是反轉字符串中單詞類型的,II收費所以沒刷,先看着兩道。 151, Reverse Words in a String,題目: Given an input string, reverse the string wor
原创 leetcode題解-125. Valid Palindrome && 680. Valid Palindrome II
這是兩道判斷字符串是否爲迴文的題目,先來看第一道: Given a string, determine if it is a palindrome, considering only alphanumeric characters
原创 記憶網絡之Gated End-To-End Memory Networks
記憶網絡之Gated End-to-End Memory Networks 今天要介紹的論文“gated end-to-end memory networks”時16年10月份發佈的,他是在End-To-End Memory Ne
原创 記憶網絡之Hierarchical Memory Networks(架構分層)
記憶網絡之Hierarchical Memory Networks(架構分層) 這是中科院去年發表的一篇論文“Hierarchical Memory Networks for Answer Selection on Unknown
原创 tensorflow中RNNcell源碼分析以及自定義RNNCell的方法
我們在仿真一些論文的時候經常會遇到一些模型,對RNN或者LSTM進行了少許的修改,或者自己定義了一種RNN的結構等情況,比如前面介紹的幾篇memory networks的論文,往往都需要按照自己定義的方法來構造RNN網絡。所以本篇
原创 leetcode題解-74. Search a 2D Matrix && 240. Search a 2D Matrix II
74,Search a 2D Matrix 題目: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix ha
原创 leetcode題解-363. Max Sum of Rectangle No Larger Than K
題目: Given a non-empty 2D matrix matrix and an integer k, find the max sum of a rectangle in the matrix such that it
原创 leetcode題解-13. Roman to Integer && 14. Longest Common Prefix && 20. Valid Parentheses
本次的三道題目都沒有什麼難度,我們先看第一道,題目如下: Given a roman numeral, convert it to an integer. Input is guaranteed to be within the