Hidden Overhead of a Function API## +24 ## Hidden Overhead of a Function API ## OLEKSANDR BACHERIKOV ## What we do at Snap with C++  Neural style transfer returned in the EDX:EAX register pair. Larger structures are returned in the EAX register as pointers to hidden return structures... Structures that are not PODs will not be returned in registers. ## General0 码力 | 158 页 | 2.46 MB | 1 年前3
2.4 Go's Hidden PragmasGo’s Hidden #pragmas GopherChina 2017 ’ alt=‘OCR图片’/> @davecheney Go programmer from Sydney, Australia ’ alt=‘OCR图片’/> But first, a history lesson. Perl use strict; use strict “vars”; use strict “refs”;0 码力 | 58 页 | 605.64 KB | 1 月前3
1.1.3 The State Of Go 2023THE STATE OF GO What’s New since Go 1.20 白明 Tony Bai 《Go语言精进之路》作者 tonybai.com博主 那段时间错过的Go版本 2022.3 Go 1.18 泛型落地 2022.8 Go 1.19 修订Go内存模型文档、支持Soft memory limit 2023.3 Go 1.20 引入Profile-Guided Optimizations0 码力 | 26 页 | 1.90 MB | 1 月前3
State Of the Gopher Nation ( aug 2017 )0 码力 | 66 页 | 5.25 MB | 2 年前3
深度学习与PyTorch入门实战 - 48. RNN-Layer使用## RNN Layer使用 主讲人:龙良曲 ## Folded model [batch, feature len]@[hidden len, feature len] $ ^{T} $ +[batch, hidden len]@[hidden len, hidden len] $ ^{T} $ [0,0,0 ... ] $$ x_{t}@w_{xh} + h_{t}@w_{hh} $$ $$ feature $ x_{t} $ : [batch, feature len] x: [seq len, batch, feature len] ## input dim, hidden dim ## ☐ ☐ ☐ In [13]: rnn=nn.RNN(100, 10) In [12]: rnn._parameters.keys() Out[12]: odict_keys ___init___ • input_size – The number of expected features in the input x • hidden_size – The number of features in the hidden state h - num_layers – Number of recurrent layers. E.g., setting num_layers=20 码力 | 15 页 | 883.60 KB | 2 年前3
用户界面State of the UI_ Leveraging Kubernetes Dashboard and Shaping its Future## State of the UI: Leveraging Kubernetes Dashboard and Shaping its Future Spencer Sugarman UX Researcher, Google Dan Romlein UX Designer, Google ## Talk Goals 1. What Dashboard is and why you should support kind/feature lifecycle/frozen #3148 opened on Jul 16 by SerialVelocity Angular Migration: State Management kind/feature lifecycle/frozen #3133 opened on Jul 7 by austbot Support metrics API good0 码力 | 41 页 | 5.09 MB | 1 年前3
State management - CS 591 K1: Data Stream Processing and Analytics Spring 2020Analytics Spring 2020 2/25: State Management Vasiliki (Vasia) Kalavri vkalavri@bu.edu ## State in dataflow computations Any non-trivial streaming computation maintains state: • rolling aggregations jpg) ## Streaming state ## Unmanaged • No explicit state primitives - Users define state using arbitrary types - The system is unaware of which parts of an operator constitute state ## Managed • Explicit Explicit state primitives including state types and interfaces - The system is aware of state and can transparently checkpoint it, restore it, re-scale it  Kalavri vkalavri@bu.edu Streaming applications are long-running • Workload will change • Conditions might change • State is accumulated over time terminate processes • Adjust dataflow channels and network connections • Re-partition and migrate state in a consistent manner • Block and unblock computations to ensure result correctness ## Automatic Re-configuration requires state migration with correctness guarantees. ## State migration ## State migration strategies ## • Stop-and-restart • halt the whole computation, take a state snapshot of all operators0 码力 | 93 页 | 2.42 MB | 2 年前3
Exactly-once fault-tolerance in Apache Flink - CS 591 K1: Data Stream Processing and Analytics Spring 2020cf30310bdd99235d1d629/p5_1.jpg) ## Passive Standby • Each primary periodically checkpoints its state and sends it to the secondary  ## Snapshotting Protocols A snapshot algorithm attempts to capture a coherent global state of a distributed system We need to retrieve a distributed cut in a system execution that yields a0 码力 | 81 页 | 13.18 MB | 2 年前3
A Simple Rollback System in C++Client 1 Local Game State  Client 2 Local Game State ## Deterministic simulation Initial state GameSystems::Tick() deb25e9aa12f06fc0/p14_2.jpg) GameSystems::Tick() on Desktop PC Intel Core i7-8700K New state New state With a deterministic simulation, we mostly need to send player inputs! ## Deterministic lock-step [Image](/uploads/documents/8/e/8/b/8e8bf3c37670c50deb25e9aa12f06fc0/p20_3.jpg) New input data Misprediction!!! State is dirty!  ## Doing0 码力 | 58 页 | 6.61 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
函数APIstd::function性能优化C++23SnappragmasNoescapeNosplitNoinlineNointerface1.1TheStateOfGo2023Go语言GopherConGo 2开源GopherRNN Layernn.RNNhidden stateRNNCell序列长度Kubernetes DashboardUI设计用户体验研究定制化扩展性state managementstream processingFlinkkeyed stateoperator statestate migrationelasticity policiesdata stream processingparallelismautomatic scalingExactly-oncefault-toleranceApache FlinkCheckpointingState consistencyrollback systemdeterministic simulationnetwork synchronizationinput predictiongame state management













