摘要: /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), r 阅读全文
posted @ 2020-02-23 14:35 douzujun 阅读(157) 评论(0) 推荐(0) 编辑
摘要: /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solu 阅读全文
posted @ 2020-02-23 14:07 douzujun 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1. 语言模型 2. RNN LSTM语言模型 (梯度权重) (1)one to one : 图像分类 (2)one to many:图片描述 (3)many to one:文本情感分析、分类 (4)many to many(N vs M):Seq2Seq(机器翻译) (5)many to many 阅读全文
posted @ 2020-02-23 11:55 douzujun 阅读(1031) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <cstdlib> #include <cstdio> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), nex 阅读全文
posted @ 2020-02-23 02:40 douzujun 阅读(136) 评论(0) 推荐(0) 编辑
摘要: /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), r 阅读全文
posted @ 2020-02-23 00:50 douzujun 阅读(99) 评论(0) 推荐(0) 编辑