- 博客(11)
- 收藏
- 关注
转载 LeetCode 8
static const auto _____ = [](){ ios::sync_with_stdio(false); cin.tie(nullptr); return nullptr;}();class Solution {public: bool isPalindrome(int x) { if(x&...
2018-09-13 11:41:00
68
转载 LeetCode 7
static auto io_sync_off = [](){ std::ios::sync_with_stdio(false); std::cin.tie(nullptr); return nullptr;}();class Solution {public: int reverse(int x) { long ...
2018-09-13 09:54:00
68
转载 LeetCode 6
string convert(string s, int numRows) { if(numRows == 1){ return s; } int count = 0; int num = 0; string temp = ""; while(num != s.size()){ for (...
2018-09-13 09:27:00
85
转载 LeetCode 5
Longest Palindromic SubstringGiven a strings, find the longest palindromic substring ins. You may assume that the maximum length ofsis 1000.Example 1:Input: "babad"Output: "bab"No...
2018-09-06 13:26:00
67
转载 LeetCode 4
Median of Two Sorted ArraysThere are two sorted arraysnums1andnums2of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(log...
2018-09-04 23:35:00
87
转载 Torch相关资料
Torch7-GitHubhttps://github.com/torch/torch7Torch入门https://blog.csdn.net/sunflower_Yolanda/article/details/51726638Torch_nn-GitHubhttps://github.com/torch/nn转载于:https://www.cnblogs.com/Q...
2018-09-03 21:45:00
106
转载 LeetCode 3
Given a string, find the length of thelongest substringwithout repeating characters.Example 1:Input: "abcabcbb"Output: 3 Explanation: The answer is "abc", which the length is 3.So...
2018-09-03 21:07:00
66
转载 神经网络相关名词解释
神经网络相关名词解释这篇文章的目的是把之前概念理解的名词用公式记忆一下。1. 正则化1.0 过拟合这是正则化主要解决的问题。过拟合现象主要体现在accuracy rate和cost两方面:1.模型在测试集上的准确率趋于饱和而训练集上的cost仍处于下降趋势2.训练集数据的cost趋于下降但测试集数据的cost却趋于饱和或上升1.1 L2正则化L2正...
2018-09-02 15:40:00
364
转载 LeetCode 2
You are given twonon-emptylinked lists representing two non-negative integers. The digits are stored inreverse orderand each of their nodes contain a single digit. Add the two numbers and ret...
2018-09-02 14:16:00
62
转载 LeetCode 1
Given an array of integers, returnindicesof the two numbers such that they add up to a specific target.You may assume that each input would haveexactlyone solution, and you may not use the...
2018-09-01 18:59:00
70
转载 全连接神经网络 MLP
全连接神经网络 MLP最近开始进行模型压缩相关课题,复习一下有关的基础知识。1. MLP简介上图是一个简单的MLP,这是典型的三层神经网络的基本构成,Layer L1是输入层,Layer L2是隐含层,Layer L3是隐含层。为了方便下面的公式描述,引入一张带公式的图。i是input层,h是hide层,o是output层。2. MLP 正向传播...
2018-09-01 18:07:00
422
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人