- 博客(47)
- 资源 (6)
- 收藏
- 关注
原创 【论文翻译】CP-GAN: CONTEXT PYRAMID GENERATIVE ADVERSARIAL NETWORK FOR SPEECH ENHANCEMENT
论文阅读:CP-GAN: CONTEXT PYRAMID GENERATIVE ADVERSARIAL NETWORK FOR SPEECH ENHANCEMENT时间:2020关键词:语音增强、CP-GANabstract本文之前,Gan在语音增强领域的运用 基本都是借鉴其在CV中的架构,没有根据音频特征(即 不同粒度上下文)对语音增强进行特定设计,这可能会在某些片段中留下噪声点或干扰原始音频的内容。在本文工作中,首次尝试探索从粗到细的语音增强的全局和局部语音特征,并引入了上下文金字塔生成对
2022-03-24 16:25:01 3318
原创 【leetcode 刷题】3、无重复字符的最长子串
class Solution: def lengthOfLongestSubstring(self, s: str) -> int: num = 0 l = len(s) for i in range(l): s1 = "" s1 = s[i] j = 1 now_num = 1 while i + j < l:
2022-03-24 00:32:17 320
原创 【leetcode 刷题】2.两数相加
https://leetcode-cn.com/problems/add-two-numbers/# Definition for singly-linked list.# class ListNode:# def __init__(self, val=0, next=None):# self.val = val# self.next = nextclass Solution: def addTwoNumbers(self, l1: ListNod
2022-03-23 00:40:38 344
原创 论文翻译:Void: A fast and light voice liveness detection system
目录摘要1、介绍2、威胁模型3、要求摘要由于语音助手输入通道的开放性,对手可以轻松记录人们使用的语音命令,然后将其重放以欺骗语音助手。为了减轻这种欺骗攻击,我们提供了一种称为“Void”的高效语音活动检测解决方案。Void利用真人语音与通过扬声器重播的语音之间频谱功率的差异来检测语音欺骗攻击。 与使用多个深度学习模型和数千个功能的现有方法相比,Void使用仅具有97个功能的单个分类模型。我们使用了两个数据集来评估其性能:(1)255 173个语音样本由120个参与者生成,其中15个播放设备和1
2021-04-08 15:31:22 618
原创 第五章、输入输出管理
报考的是三系老师(不是搞硬件的),但由于自己考研时选的科目有操作系统,所以 大致看一下了解即可(注:只是记录自己容易忘的知识点,,,,)一、I/O管理概述1、I/O控制方式第一:程序直接控制方式计算机从外部设备读取数据到存储器,每次读一个字的数据。对读入的每个字,CPU需要对外设状态进行循环检查,知道确定该字已经在I/O控制器的数据寄存器中。在该方式下,由于CPU的高速性和I/O设备的低速性,导致cpu的绝大多数时间都处于等待I/O设备完成数据I/O的循环测试中,造成CPU资源的极大浪费。
2021-03-19 10:11:38 159
原创 第四章、文件管理
报考的是三系老师(不是搞硬件的),但由于自己考研时选的科目有操作系统,所以 大致看一下了解即可(注:只是记录自己容易忘的知识点,,,,)一、文件系统基础1、目录文件为实现对文件目录的管理,将文件目录以文件的形式存放到外村上,这个文件称为目录文件。2、软链接与硬链接(文件共享)硬链接(基于索引节点的共享方式):可以实现异名共享,存储空间最省。但是只能实现同一文件系统上的文件共享,不能跨文件系统共享,而且不同用户共享同一文件时具有相同的权限软链接(利用符号链实现的文件共享):可以链接世界上任何地
2021-03-19 10:10:18 116
原创 第三章、内存管理
报考的是三系老师(不是搞硬件的),但由于自己考研时选的科目有操作系统,所以 大致看一下了解即可静态重定位是在目标程序装入内存时,由装入程序对目标程序中的指令和数据的地址进行修改,即把程序的逻辑地址修改为物理地址。对每个程序来说,这种地址变换只是在装入时一次完成,在程序运行期间不再进行重定位。动态重定位是在程序执行期间每次访问内存之前进行重定位;这种变换是靠硬件地址变换机构实现的。通常采用一个重定位寄存器,其中放有当前正在执行的程序在内存空间中的起始地址,而地址空间中的代码在装入过程不发生变化。
2021-03-19 10:08:31 71
原创 第二章、进程管理
报考的是三系老师(不是搞硬件的),但由于自己考研时选的科目有操作系统,所以 大致看一下了解即可一、进程和线程1、进程通信第一:共享存储第二:消息传递(分为直接通信方式 和 信箱通信方式)第三:管道通信二、处理机调度1、调度的层次第一:作业调度(高级调度)按一定原则从外村上处于后备状态的作业中挑选一个(或多个)作业,给它(们)分配内存、输入/输出设备等必要资源,并建立相应的进程,以使它们获得竞争处理机的权力。第二:内存调度(中级调度)将暂时不能运行的进程调至外村等待,把此时的进程状态称为挂起
2021-03-19 10:06:34 73 1
原创 第一章、计算机系统概述
报考的是三系老师(不是搞硬件的),但由于自己考研时选的科目有操作系统,所以 大致看一下了解即可一、操作系统基本概念1、什么是操作系统?操作系统 是指控制和管理整个计算机系统的硬件和软件资源,合理组织、调度计算机的工作和资源的分配,进而为用户和其他软件提供方便接口与环境的程序集合2、操作系统的特征并发、共享、虚拟、异步二、操作系统的发展与分类三、操作系统的运行环境1、特权指令?特权指令 是指计算机中不允许用户直接使用的指令,如I/O指令、置中断指令等2、原语?是指 由若干条指令组成的程序
2021-03-19 10:04:23 78
原创 #include< >和#include“ ”的区别
#include< >和#include“ ”的区别:一、引用bai的头文件du不同zhi#include< >引用的是编译器的类库路径里面的头文件。#include“ ”引用的是你程dao序目录的相对路径中的头文件。二、用法不同#include< >用来包含标准头文件(例如stdio.h或stdlib.h).#include“ ”用来包含非标准头文件。三、调用文件的顺序不同#include< >编译程序会先到标准函数库中调用文件。#incl
2020-09-10 18:59:38 579
原创 noj26、二叉排序树的合并
//二叉排序树合并(多次插入)#include <stdio.h>#include <stdlib.h>#include <malloc.h>typedef struct TNode{ int elem; struct TNode *lchild,*rchild;}TNode,*TNodePtr,*TreePtr;TNodePtr Init_Tree(TreePtr T){ int e; scanf("%d",&.
2020-07-12 00:06:19 322
原创 noj25、二叉排序树的插入和删除
//二叉排序树的判别(关键递归很重要)#include <stdio.h>#include <stdlib.h>#include <malloc.h>typedef struct TNode{ int elem; struct TNode *lchild,*rchild;}TNode,*TNodePtr,*TreePtr;TNodePtr Init_Tree(TreePtr T){ int e; scanf("%d",.
2020-07-12 00:02:12 385
原创 noj23、构造哈希表
//构造哈希表(利用线性探测再散列法处理冲突)#include <stdio.h>#include <stdlib.h>#include <malloc.h>int main(){ int H[11] = {0}; int k[]={22,41,53,46,30,13,01,67}; for(int i = 0; i < 8;i++) { int j = (3*k[i])%11; .
2020-07-11 23:59:29 271
原创 noj10 k阶斐波那契数列
k阶斐波那契数列 K阶斐波那契数列:数列第1项到第k-1项为0,第k项为1,之后从第(k+1)项开始每一项为前k项之和。//k阶斐波那契数列 K阶斐波那契数列:数列第1项到第k-1项为0,第k项为1,之后从第(k+1)项开始每一项为前k项之和。#include <stdio.h>#include <stdlib.h>typedef struct Queue{ int *elem; int front,rear; int n;}Queue,*P.
2020-07-11 16:09:57 378
原创 noj8逆波兰式
思路:采用栈存储运算符,(运算符之间优先级为 ‘(’ ‘)’ <’+’ ‘-’<’*’ ‘/’)当输入字符为a——z时直接输出;当输入字符为‘(’或栈为空时,直接入栈当输入字符为‘)’时,出栈直到对应的 ‘(’当输入字符为其他时,如果栈顶元素的优先级小于输入字符的优先级,直接将输入字符入栈;如果栈顶元素优先级大于等于输入字符优先级,则将栈顶元素出栈并输出,然后将输入字符入栈。//逆波兰式 (根据优先级)#include "stdio.h"#include "stdlib.h".
2020-06-25 10:24:40 471 1
原创 noj 4.4 弗洛伊德算法求赋权图的两点间的最短路径
// 4.4 弗洛伊德算法求赋权图的两点间的最短路径#include <stdio.h>#include <stdlib.h>#include <malloc.h>#define max 10000typedef struct MGraph{ int matrix[max][max]; int vernum;}MGraph;int **P;int **D;//int** MemoryMalloc(int S,int **M){.
2020-06-24 17:02:35 1397
原创 noj 4.3 弗洛伊德算法求赋权图的两点间的最短路径的长度
// 4.3 弗洛伊德算法求赋权图的两点间的最短路径的长度#include <stdio.h>#include <stdlib.h>#include <malloc.h>#define max 10000typedef struct MGraph{ int matrix[max][max]; int vernum;}MGraph;int **P;int **D;//int** MemoryMalloc(int S,int **.
2020-06-24 17:01:43 840
原创 noj 实验4.2:用迪杰斯特拉算法求赋权图中的最短路径(无向图)
//实验4.2:用迪杰斯特拉算法求赋权图中的最短路径(无向图) #include <stdio.h>#include <stdlib.h>#define max 2000typedef struct MGraph{ int matrix[max][max];//邻接矩阵 int vernum; //节点数目}MGraph;int P[max];void InitMGraph(MGraph *G){ scanf("%d",&a.
2020-06-24 17:00:37 2119 1
原创 noj 实验4.1:求赋权图中一个节点到所有节点得最短路径(无向图)
//实验4.1:求赋权图中一个节点到所有节点得最短路径(无向图) #include <stdio.h>#include <stdlib.h>#define max 2000typedef struct MGraph{ int matrix[max][max];//邻接矩阵 int vernum; //节点数目}MGraph;void InitMGraph(MGraph *G);void FindShort(MGraph *G,int *D);.
2020-06-24 16:58:31 1972
原创 noj 21、采用有向无环图输出逆波兰表达式
记一下遇到的问题:1、判断外层括号是否匹配2、相同优先级,从左到右计算// 思路:题目要求有向无环图,这里采用二叉树,理论上二叉树是特殊的有向无环图(DAG)// 给符号添加优先级,以优先级最小的符号划分左右字符,递归建立二叉树。// 关键问题再括号匹配判断中,设level=0;遇到’(’,level+1;遇到’)’,level-1;如果再达到最后一个‘)’前,level==0,则第一个‘(’// 不和最后一个‘)’匹配,则不用去除外层括号。// 思路:题目要求有向无环图,这里采用二叉树,理.
2020-06-18 10:10:20 933 2
原创 noj20 基于图的广度优先搜索策略
//基于图的广度优先搜索(邻接表)#include <stdio.h>#include <stdlib.h>#define max 200typedef struct arcnode{ //arc弧, 边表 int adjvex; //该弧指向的节点(adj 邻域) // int weight; //权重 struct arcnode *next; //同一节点下一条边}arcnode;.
2020-06-12 11:15:11 517
原创 noj19 基于图的深度优先搜索策略
//基于图的深度优先搜索(邻接表)#include <stdio.h>#include <stdlib.h>#define max 200typedef struct arcnode{ //arc弧, 边表 int adjvex; //该弧指向的节点(adj 邻域) // int weight; //权重 struct arcnode *next; //同一节点下一条边}arcnode;.
2020-06-12 10:25:46 717 1
原创 noj18 建立二叉树的二叉链表
//建立二叉树的二叉链表#include <stdio.h>#include <stdlib.h>#define max 2000typedef struct Node{ char elem; struct Node *lchild,*rchild;}Node,*PNode,*BiTree;void PreInord(char *P,char *I,int i,int j,int k,int h,BiTree *T){ //先序遍历序列中从.
2020-06-06 15:14:19 714
原创 noj17 输出以二叉树表示的算术表达式
//输出以二叉树表示的算术表达式#include <stdlib.h>#include <stdio.h>typedef struct Node{ char elem; struct Node *lchild,*rchild;}Node,*NodePtr,*BiTree;void Creat_Tree(BiTree *T){ char c = getchar(); if(c == '#') { (*T) = NUL.
2020-06-06 15:13:04 434
原创 noj16 计算二叉树叶子节点数目
//计算叶子节点数目#include <stdio.h>#include <stdlib.h>typedef struct BiTreeNode{ char elem; struct BiTreeNode *lchild,*rchild;}BiTreeNode,*BiTree;BiTree Creat_Tree(BiTree T){ char c = getchar(); if(c == '#') { retur.
2020-06-06 15:12:02 351
原创 noj15 建立二叉树的二叉链表存储结构
//建立二叉树的二叉链表存储结构#include <stdio.h>#include <stdlib.h>typedef struct BiTreeNode{ char elem; struct BiTreeNode *lchild,*rchild;}BiTreeNode,*BiTree;BiTree Creat_Tree(BiTree T){ char s,s1; T =(BiTree)malloc(sizeof(BiTreeNode.
2020-06-06 15:11:06 468
原创 noj14 求广义表深度
//求广义表深度#include <stdio.h>#include <stdlib.h>typedef enum {Atom,List} ElemType;typedef struct GNode{ ElemType tag;//标志位 union { char elem;//原子节点 struct { struct GNode *Head,*Tail; }ptr;//表头+表.
2020-06-06 15:10:06 483
原创 noj11 循环右移
//循环右移 (暴力)#include <stdio.h>#include <stdlib.h>int main(){ int *A; int n,k; scanf("%d %d",&n,&k); A = (int *)malloc((n+1)*sizeof(int)); for(int i = 1;i < n+1;i++) { scanf("%d",&A[i]); }
2020-06-06 15:07:57 417
原创 noj9循环队列
//循环队列#include <stdio.h>#include <stdlib.h>typedef struct Queue{ int *elem; int front,rear; int length; int n;}Queue,*QueuePtr;void QueueCreat(QueuePtr Q){ Q->elem = (int *)malloc(sizeof(int)*Q->n);}int Que.
2020-06-06 15:05:22 335 1
原创 noj7括号匹配
//括号匹配#include "stdio.h"#include "stdlib.h"typedef struct Node{ char cr; struct Node *next;} StackNode,*StackNodePtr;typedef struct stack{ StackNodePtr top;} Stack, *StackPtr;int Input(char c,StackPtr S){ int flag = 1; StackN.
2020-06-06 15:02:29 369
原创 数据结构实验2.4:稀疏矩阵乘法
//稀疏矩阵乘法(三元组)#include <stdio.h>#include <stdlib.h>#define max 200typedef struct Triple{ int i,j;//i行j列 int e;}Triple;typedef struct TSMaTrix{ Triple elem[max]; int rpos[max]; //行逻辑链接的顺序表,保存每行起始地址 int mu,nu,tu;}TSMat.
2020-05-31 20:43:16 3415
原创 数据结构实验2.2:稀疏矩阵加法(三元组和十字链表)
三元组//稀疏矩阵加法#include<stdio.h>#include<stdlib.h> #define MAXSIZE 100 typedef struct { int i,j; int e; }Triple; typedef struct { Triple data[MAXSIZE+1]; int mu,nu,tu; }TSMatrix; TSMatrix AddTSM(TSMatrix A,TSMatrix B){
2020-05-31 20:41:53 1866 2
原创 数据结构实验1.2:高精度计算PI值
//高精度计算PI#include <stdio.h>#include <stdlib.h>#define max 500typedef struct Node{ int data; struct Node *next,*pre;}LHead,*LHeadPtr,Node,*NodePtr;void List_Init(LHeadPtr L){ L->data = 2; L->next = L; L->pr.
2020-05-31 20:37:57 2497
原创 数据结构实验1.1:合并有序数组
// 合并有序数组#include "stdio.h"#include "stdlib.h"#define maxsize 1000typedef struct List{ int data[maxsize]; int length;} SqList,*SqListPtr;void SqList_Init(SqListPtr L){ scanf("%d",&L->length); if(L->length > maxsize) .
2020-05-31 20:36:44 2345
原创 数据结构实验3:哈夫曼编 \ 译码器
//哈夫曼编\译码器#include <stdio.h>#include <stdlib.h>#define maxbit 10#define max 1000typedef struct HNode{ int weight; int parent,lchild,rchild;}HNode;/*哈夫曼树节点*/typedef struct table{ int w[max]; char s[max]; int num;}.
2020-05-31 20:32:55 1807
原创 noj6;双向循环链表LOCATE操作
//LOCATE操作#include "stdlib.h"#include "stdio.h"typedef struct Node{ struct Node *pre; char data; int freq; struct Node *next;}Node,*NodePtr,List,*ListPtr;//含头节点。void List_Add...
2020-04-22 15:33:16 625
原创 noj5;单链表的删除
//单链表的删除#include "stdio.h"#include "stdlib.h"typedef struct Node{ int data; struct Node *next;}Node,*NodePtr;typedef Node ListHead,*ListHeadPtr;void List_Init(ListHeadPtr L){ N...
2020-04-22 15:31:57 465
原创 noj4;单链表的归并
//单链表的归并#include "stdio.h"#include "stdlib.h"typedef struct Node{ int elem; struct Node *next;}Node,*NodePtr;typedef Node ListHead,*ListHeadPtr;void List_init(ListHeadPtr L){ in...
2020-04-22 15:30:01 372
原创 noj3;顺序表的删除
//顺序表的删除#include"stdio.h"#include"stdlib.h"#define maxsize 100typedef struct Sqlist{ int elem[maxsize]; int length;}Sqlist,*SqlistPtr;void Sqlist_init(SqlistPtr L){ for(int i = ...
2020-04-22 15:28:37 501
Void A fast and light voice liveness detection system.pdf
2021-03-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人