2.2.1 深入Go Module## GCN ## 深入Go Module  鸟窝 细节、使用、坑以及未来 ## 鸟窝 • Go微服务框架rpcx作者 • Go并发编程实战课专栏作者 《Scala集合技术手册》作者  Go 版本管理历史 01 认识 Go Module 02 使用 Go Module 03 血泪史 04 Go Module 未来特性 05 ## 第一部分 ## Go版本管理历史 ## Go版本历史  login guest password 123456 ## Git over SSH go get 默认不会使用 SSH 协议 除非动态获取 meta 时明确指定使用 SSH 协议 // module: example.com/pkg repo: gitlab.example.com/example/pkg 0 码力 | 28 页 | 12.85 MB | 2 年前3
深度学习与PyTorch入门实战 - 43. nn.Module## PyTorch ### nn.Module 主讲人:龙良曲 ## ☐ ☐ ☐ class MyLinear(nn.Module): def __init__(self, inp, outp): super(MyLinear, self).__init__() # requires_grad = True self.w = nn.Parameter(torch.randn(outp + self.b return x ## Magic ### ■ Every Layer is nn.Module - nn.Linear - nn.BatchNorm2d - nn.Conv2d #### - nn.Module nested in nn.Module ### 1. embed current layers Linear ReLU Sigmoid Conv2d BasicNet(nn.Module): def __init__(self): super(BasicNet, self).__init__() self.net = nn.Linear(4, 3) def forward(self, x): return self.net(x) class Net(nn.Module): def0 码力 | 16 页 | 1.14 MB | 2 年前3
Implementing C++ Modules: Lessons Learned, Lessons AbandonedStroustrup: “Every single word about “token comparison” is there to workaround absence of a real module system” Safety: - A toolchain should try its best to diagnose ODR violations e.g. linker errors types Speed: - Matching a function call to its definition begins “the great hunt” ## The Global Module ■ Everything we used to do before Modules - Merry mess ■ Provide no ODR guarantees – Responsibility making up a component ## Module Ownership ## Module Ownership - Supporting programming in the large (componentization) - Non-interference between module-local entities (module linkage) - Interface0 码力 | 53 页 | 1.33 MB | 1 年前3
2.1.3 如何用go module构建模块化跨链平台GOPHER CHINA 2020 中国 上海 / 2020-11.21-22 如何用go module构建模块化跨链平台 汪小益 趣链科技 ’ alt=‘OCR图片’/> 什么是区块链 跨链的重难点分析 跨链平台架构设计 Go module和plugin 的应用实践 GOPHER CHINA 2020 中国 上海 / 2020-11.21-22 1 什么是区块链 GOPHER 趣链区块链 天平链 共识模块 PBFT RAFT POS POA HOTSTUFF Golang提供了两种模块化工具,一个是go module,一个是go plugin GOPHER CHINA 2020 中国 上海 / 2020-11.21-22 4 GO module和plugin实践 GOPHER CHINA 2020 中国 上海 / 2020-11.21-22 4 GO modules实践:无处不在的模块 t uint64) error // Close release resource Close() GOPHER CHINA 2020 GO modules实践:经验建议 GO module几个好用的命令 go mod tidy 移除无效依赖,新增缺少的依赖 go mod graph 列出所有的依赖 go mod vendor 依赖复制打包到vendor目录下(网络受限) go mod0 码力 | 27 页 | 1.24 MB | 1 月前3
The Zig Programming Language 0.8.1 Documentationtop-level doc comment is one that begins with two slashes and an exclamation point: //! !!! This module provides functions for retrieving the current date. !!! time with varying degrees of precision and child scopes, and can be overridden in any scope. You can set the floating point mode in a struct or module scope by using a comptime block. See also: • Floating Point Operations ## @setRuntimeSafety provide such protection, with some degree of cooperation from Zig code required. ## Lifetime and Ownership It is the Zig programmer's responsibility to ensure that a pointer is not accessed when the0 码力 | 234 页 | 6.01 MB | 2 年前3
THE NETWORKINGTS FROM SCRATCH: IO Objectsobjects) is a useful pattern Service objects own completion handlers thereby breaking the potential ownership cycle Service objects are owned by an ExecutionContext ExecutionContext destroys all services guarantees of Networking TS from scratch Completion handlers must be stored in a Service to avoid ownership cycles Outstanding work must be tracked to ensure underlying ExecutionContext still available upon0 码力 | 35 页 | 900.82 KB | 1 年前3
PyWebIO v1.7.1 DocumentationDoc • Server-Client communication protocol Command o Event ## I ndices and tables • Index • Module Index • Search Page ## Discussion and support - Need help when use PyWebIO? Make a new discussion code online and see what happens. ## I nput The input functions are defined in the pywebio.input module and can be imported using from pywebio.input import *. When calling the input function, an input provide the name parameter. ## Output The output functions are all defined in the pywebio.output module and can be imported using from pywebio.output import *. When output functions are called, the content0 码力 | 152 页 | 7.47 MB | 2 年前3
Julia 1.9.0 Documentation203 16.1 Namespace management ..... 204 16.2 Submodules and relative paths ..... 209 16.3 Module initialization and precompilation ..... 211 17 Documentation ..... 215 17.1 Accessing Documentation 85.3 Tab completion ..... 1368 85.4 Customizing Colors ..... 1371 85.5 Changing the contextual module which is active at the REPL ..... 1372 85.6 Numbered prompt ..... 1373 85.7 TerminalMenus .. ... 1374 85.8 References ..... 1377 86 Random Numbers ..... 1383 86.1 Random numbers module ..... 1384 86.2 Random generation functions ..... 1384 86.3 Subsequences, permutations and shuffling0 码力 | 1643 页 | 5.27 MB | 2 年前3
Julia 1.4.1 Documentationof module usage 200 Modules and files 200 Standard modules 201 Default top-level definitions and bare modules 201 Relative and absolute module paths 201 Namespace miscellanea 202 Module initialization Bits Types 321 Struct Type Correspondences 325 Type Parameters 326 SIMD Values 326 Memory Ownership 327 When to use T, Ptr{T} and Ref{T} 327 34.3 Mapping C Functions to Julia 327 ccall /@cfunction variables ..... 1098 84.5 Writing log events to a file ..... 1098 84.6 Reference ..... 1099 Logging module ..... 1099 Creating events ..... 1099 Processing events with AbstractLogger ..... 1100 Using0 码力 | 1312 页 | 4.29 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
Go ModuleGOPATHvendor dirgo命令GOPROXY又拍云Gitlab CIGOPRIVATEsshnn.ModulePyTorch自定义层网络结构优化器C++ ModulesModule OwnershipComponentizationIsolationScalable Build2.1如何gomodule构建模块模块化跨链平台AllocatorHeap Allocation FailureRecursionLifetime and OwnershipBuild SystemI/O ObjectsExecutorsCompletion handlersOwnership cyclesExecutionContextPyWebIOsessionplatform modulepin modulecoroutine-based sessionsDocumentationJuliaPackageModule@attrsFunctionREPLMacro













