首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏高科技宣传

    Siri ShortCut 调研(含Demo)

    二、iOS12 ShortCut 1.NSUserActivity 记录用户的操作,生成ShortCut,用户可以在设置->Siri->All ShortCuts中找到,可以匹配上语音,以后通过该语音调用用户的操作 //参数中的Intent就是开发者自定义的Intent,在用户的某个操作后初始化,并暴露到设置中的ShortCut中。 TestIntent *testIntent = [[TestIntent alloc] init]; testIntent.content = @"App内Siri按钮生成的ShortCut = [[INShortcut alloc] initWithIntent:testIntent]; button.delegate = self; button.shortcut = shortCut; button.translatesAutoresizingMaskIntoConstraints = NO; [self.addSiriView

    1.4K20编辑于 2022-11-07
  • 来自专栏BETTER

    vscode:shortcut: fold unfold

    Ctrl+K Ctrl+L:折り畳み/展開toggle ( 作用范围:选中的阶层以下)

    35600编辑于 2022-08-20
  • 来自专栏探索DNN

    深度卷积神经网络CNN中shortcut的使用

    概述shortcut的发展。 而shortcut的引入就是解决这个问题的妙招。本文主要就模型发展中的shortcut展开讨论。欢迎大家多多批评指正。 002.png        为了解决深度网络的梯度发散问题,Highway在两层之间增加了(带权的)shortcut(原文中并没有使用这个名词,为统一起见,采用术语shortcut)。 ResNet-34中,采用图8左侧的shortcut跨越方式;ResNet-50/101/152采用图8右侧的shortcut跨越方式。 用到了“极致”——每两层之间都添加shortcut,L层的网络共有L*(L-1)/2个shortcut(这样会不会太简单粗暴了?

    24.3K2418发布于 2018-06-15
  • 来自专栏张高兴的博客

    张高兴的 Xamarin.Forms 开发笔记:Android 快捷方式 Shortcut 应用

    一、Shortcut 简介 Shortcut 是 Android 7.1 (API Level 25) 的新特性,类似于苹果的 3D Touch ,但并不是压力感应,只是一种长按菜单。 Shortcut 是受启动器限制的,也就是说国内大厂的定制系统大多数是不支持的,那些所谓的可以 pin 在桌面上的应用功能的快捷启动图标本质上就是 Shortcut 。 ? 二、Shortcut 在 Xamarin.Forms 中的实现分析 本文讨论的是动态 Shortcut 实现。 在其中添加一个 SetShortcut() 方法用于设置 Shortcut 。首先添加一个 List 用于存放 ShortcutInfo,以备最后动态设置 Shortcut 作为参数传入。 SetRank 为设置排序序号,最多显示5个 Shortcut ,也就是 0-4 ;SetIcon 为设置图标;SetShortLabel 与 SetLongLabel 则是设置长名称与段名称;SetIntent

    2.1K70发布于 2018-05-18
  • 来自专栏机器学习初学者精选文章

    推荐五篇论文| 轻量级的Transformer; 对比学习;ResNeSt;Shortcut Learning等

    Shortcut Learning in Deep Neural Networks https://arxiv.org/abs/2004.07780v1 本文试图探究有多少深度学习问题可以看作是同一根本问题 ,也就是shortcut learning。 shortcut learning是在标准基准上表现良好的决策规则,但无法转移到更具挑战性的测试条件(例如实际场景)中。 相关问题在比较心理学,教育学和语言学领域是已知的,这表明shortcut learning可能是生物学和人工学习系统的共同特征。

    1.7K20发布于 2020-05-07
  • 来自专栏张高兴的博客

    张高兴的 Xamarin.Forms 开发笔记:Android 快捷方式 Shortcut 应用

    一、Shortcut 简介 Shortcut 是 Android 7.1 (API Level 25) 的新特性,类似于苹果的 3D Touch ,但并不是压力感应,只是一种长按菜单。 Shortcut 是受启动器限制的,也就是说国内大厂的定制系统大多数是不支持的,那些所谓的可以 pin 在桌面上的应用功能的快捷启动图标本质上就是 Shortcut 。 ? 二、Shortcut 在 Xamarin.Forms 中的实现分析 本文讨论的是动态 Shortcut 实现。 在其中添加一个 SetShortcut() 方法用于设置 Shortcut 。首先添加一个 List 用于存放 ShortcutInfo,以备最后动态设置 Shortcut 作为参数传入。 SetRank 为设置排序序号,最多显示5个 Shortcut ,也就是 0-4 ;SetIcon 为设置图标;SetShortLabel 与 SetLongLabel 则是设置长名称与段名称;SetIntent

    2K20发布于 2018-06-26
  • 来自专栏Eureka的技术时光轴

    Programmatically PIN Shortcut onto Taskbar on Win7win10 快捷方式固定到任务栏

    Although two snippets of VBS code are simple and straight-forward, they have one serious limitation. It only supports one specified language, attention of this line of code:

    1.2K20发布于 2019-09-29
  • 来自专栏HsuHeinrich

    利用棒棒糖图探索马里奥赛车 64 世界纪录

    = df_records_three.query("shortcut == 'Yes'") grouped = df_shortcut.groupby("track") df_shortcut = df_shortcut.loc (), "group"] = "max" df_shortcut.loc[grouped["time"].idxmin(), "group"] = "min" df_shortcut["year"] = df_shortcut.groupby("track")['year'].transform(max) df_shortcut = df_shortcut.pivot_table(index=["track 按track排序 df_shortcut["track"] = df_shortcut["track"].astype("category") df_shortcut["track"] = df_shortcut ) # 为shortcut==yes的最新记录添加点,按年份范围生成蓝色 norm_year = mc.Normalize(df_shortcut["year"].min(), df_shortcut

    19810编辑于 2025-10-20
  • 来自专栏全栈程序员必看

    vimrc配置_vim环境配置

    > <shortcut-conflict owner="vim"> <text encoding="base64">Y3RybCBwcmVzc2VkIEo=</text> </shortcut-conflict > <shortcut-conflict owner="vim"> <text encoding="base64">Y3RybCBwcmVzc2VkIFU=</text> </shortcut-conflict > <shortcut-conflict owner="vim"> <text encoding="base64">Y3RybCBwcmVzc2VkIFY=</text> </shortcut-conflict > <shortcut-conflict owner="vim"> <text encoding="base64">Y3RybCBwcmVzc2VkIEs=</text> </shortcut-conflict > <shortcut-conflict owner="vim"> <text encoding="base64">Y3RybCBwcmVzc2VkIEw=</text> </shortcut-conflict

    1.1K30编辑于 2022-11-10
  • 来自专栏加菲猫的VFP

    VFP按钮弹出菜单,今天来讲两个方法,非常实用

    shortcut From nrow,ncol Define Bar 1 Of shortcut Prompt "打印预览" Skip For .F. Define Bar 2 Of shortcut Prompt "打印" Skip For .F. On Selection Bar 1 Of shortcut loForm.topreview() On Selection Bar 2 Of shortcut loForm.toprint() Activate 右键弹出,是跟随鼠标左键 loForm=Thisform *--坐标计算 nrow=mrow() ncol=mcol() Define Popup shortcut shortcut From nrow On Selection Bar 1 Of shortcut loForm.topreview() On Selection Bar 2 Of shortcut loForm.toprint() Activate

    1.2K10编辑于 2022-04-07
  • 来自专栏我爱计算机视觉

    没有残差连接的ViT准确率只有0.15%!北大&华为提出用于ViT的增强 Shortcuts,涨点显著!

    视觉Transformer中除了自注意层外,通常还包括一个shortcut,可以直接将多个层用恒等映射连接起来。shortcut的引入源于CNN的残差结构设计。 目前有一系列关于解释和理解shortcut作用的工作。 除了传统的shortcut外,作者还提出将MSA模块与多个参数化shortcut并行,以提供更多的替代路径来绕过注意机制。 除了MSA和MLP之外,shortcut连接对于实现高性能也起着至关重要的作用,删除shortcut会严重损害ViT模型的精度。 考虑到在MSA和MLP模块中都存在shortcut连接,因此增强shortcut也可以嵌入到MLP中,即: 其中是第l层中MLP模块的输入特征,表示增强shortcut的参数。 2.3.

    1.2K10发布于 2021-10-27
  • 来自专栏酷玩时刻

    Android极速开发之桌面快捷方式

    boolean allowRepeat){ Intent shortcutintent = new Intent("com.android.launcher.action.INSTALL_SHORTCUT , icon); //设置快捷方式动作 shortcutintent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, actionIntent , shotcutName); //设置快捷方式图片 shortcutintent.putExtra(Intent.EXTRA_SHORTCUT_ICON, bitmap , icon); //第二种设置快捷方式图片 shortcutintent.putExtra(Intent.EXTRA_SHORTCUT_ICON, bitmap); 删除快捷键 , name); //设置快捷方式动作 shortcutintent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, actionIntent

    1.6K30发布于 2018-08-21
  • 来自专栏林德熙的博客

    C# 通过编程的方法在桌面创建回收站快捷方式

    = (string) shell.SpecialFolders.Item(ref shDesktop) + @"\Recycle Bin.lnk"; IWshShortcut shortcut = (IWshShortcut) shell.CreateShortcut(shortcutAddress); shortcut.Description = "New shortcut for Recycle Bin"; shortcut.Hotkey = "Ctrl+Shift+N"; shortcut.IconLocation = }"; shortcut.Save(); 参见 使用 C# 代码创建快捷方式文件 - walterlv C# 如何引用 WshShell 类 c# - Programmatically create a shortcut to the recycle bin or other special folders - Stack Overflow 本文代码放在 github 欢迎小伙伴访问

    1.7K10编辑于 2022-08-12
  • 来自专栏walterlv - 吕毅的博客

    使用 C# 代码创建快捷方式文件

    = shell.CreateShortcut(lnkFilePath); shortcut.TargetPath = Assembly.GetEntryAssembly().Location; shortcut.Arguments = args; shortcut.WorkingDirectory = AppDomain.CurrentDomain.SetupInformation.ApplicationBase ; shortcut.Save(); } 以上代码为当前正在运行的程序创建一个快捷方式。 ().Location; shortcut.Arguments = args; shortcut.WorkingDirectory = AppDomain.CurrentDomain.SetupInformation.ApplicationBase ; shortcut.Save(); } 兼容 .NET 3.5 或早期版本 如果你还在使用 .NET Framework 3.5 或更早期版本,那真的很麻烦。

    2.6K10发布于 2018-09-18
  • 来自专栏蔻丁杂记

    C# 创建或读取快捷方式

    = shell.CreateShortcut(lnkFilePath); shortcut.TargetPath = targetPath; shortcut.Arguments = args ; shortcut.WorkingDirectory = workDir; shortcut.Save();} ///

    /// 读取一个快捷方式的信息/// </summary , Arguments = shortcut.Arguments, WorkDir = shortcut.WorkingDirectory, };} 以上只列出了 TargetPath 2 相关参考 用C#创建应用程序桌面快捷方式_luwq168的专栏-CSDN博客 c# - Create a shortcut on Desktop - Stack Overflow 这里的例子比较多 原文链接: https://blog.jgrass.cc/posts/csharp-shortcut/ 本作品采用 「署名 4.0 国际」 许可协议进行许可,欢迎转载,但未经作者同意必须保留此段声明,

    45410编辑于 2024-12-25
  • 来自专栏码客

    Unity2D开发入门-自定义代码片段

    >zprop</Shortcut> <Description>自动实现的属性的代码片段</Description> <Author>剑行者</Author> <SnippetTypes >zz_unity_awake</Shortcut> <Description>Unity生命周期方法</Description> <Author>码客说</Author> >zz_unity_lateupdate</Shortcut> <Description>Unity生命周期方法</Description> <Author>码客说</Author >zz_unity_onenable</Shortcut> <Description>Unity生命周期方法</Description> <Author>码客说</Author> >zz_unity_ondisable</Shortcut> <Description>Unity生命周期方法</Description> <Author>码客说</Author

    52640编辑于 2023-07-26
  • 来自专栏深度学习与python

    30行代码让你玩转YOLO目标检测

    -> 208 x 208 x 32 3 conv 64 3 x 3 / 1 208 x 208 x 32 -> 208 x 208 x 64 4 shortcut -> 104 x 104 x 64 7 conv 128 3 x 3 / 1 104 x 104 x 64 -> 104 x 104 x 128 8 shortcut -> 104 x 104 x 64 10 conv 128 3 x 3 / 1 104 x 104 x 64 -> 104 x 104 x 128 11 shortcut -> 52 x 52 x 128 14 conv 256 3 x 3 / 1 52 x 52 x 128 -> 52 x 52 x 256 15 shortcut -> 52 x 52 x 128 17 conv 256 3 x 3 / 1 52 x 52 x 128 -> 52 x 52 x 256 18 shortcut

    84810发布于 2019-06-19
  • 来自专栏代码小睿

    EonerCMS——做一个仿桌面系统的CMS(八-带demo源码下载)

    一、每个图标从原先js数组统一换成json数组   数据格式如下: {"data":[ {"id":0,"iconName":"小睿的博客","iconUrl":"img/shortcut/news.png http://www.cnblogs.com/hooray","width":1000,"height":500}, {"id":1,"iconName":"博客园","iconUrl":"img/shortcut "url":"http://www.cnblogs.com","width":1000,"height":500}, {"id":2,"iconName":"商企通","iconUrl":"img/shortcut ","url":"http://www.caiyufu.com","width":800,"height":500}, {"id":3,"iconName":"百度","iconUrl":"img/shortcut url":"http://www.google.com.hk","width":800,"height":500}, {"id":5,"iconName":"提示框","iconUrl":"img/shortcut

    54310编辑于 2022-03-23
  • 来自专栏代码小睿

    EonerCMS——做一个仿桌面系统的CMS(三)

    '); var window_warp = 'window_'+shortcut[sc][0]+'_warp'; var window_inner = 'window_'+shortcut[sc][ [sc][0]+'" class="window-container window-current" style="width:'+shortcut[sc][4]+'px;height:'+shortcut [sc][5]+'px;top:'+shortcut[sc][6]+'px;left:'+shortcut[sc][7]+'px;z-index:'+Core.config.createIndexid+ [sc][4],height:shortcut[sc][5],top:shortcut[sc][6],left:shortcut[sc][7]}); Core.config.createIndexid [sc][4],height:shortcut[sc][5],top:shortcut[sc][6],left:shortcut[sc][7]}); (2) Core.config.createIndexid

    81330编辑于 2022-03-23
  • 来自专栏NowlNowl_AI

    深度学习第6天:ResNet深度残差网络

    tensorflow.keras import layers, Model def residual_block(x, filters, kernel_size=3, stride=1, conv_shortcut =False): shortcut = x if conv_shortcut: shortcut = layers.Conv2D(filters, kernel_size =1, strides=stride, padding='same')(shortcut) shortcut = layers.BatchNormalization()(shortcut filters, kernel_size, padding='same')(x) x = layers.BatchNormalization()(x) x = layers.add([x, shortcut

    75000编辑于 2024-01-18
领券