Session Types in C++
50Communication? • Abstraction: channels... or actors Two main cases in practice • concurrent queues • networking sockets 51Communication? • Abstraction: channels... or actors Two main cases in practice Bounded/Unbounded, Sync/Async, MPMC, MPSC, SPMC, SPSC, Lockfree, Blocking... 52Communication? • Abstraction: channels... or actors Two main cases in practice • concurrent queues • networking sockets Bounded/Unbounded Bounded/Unbounded, Sync/Async, MPMC, MPSC, SPMC, SPSC, Lockfree, Blocking... 53Communication? • Abstraction: channels... or actors Two main cases in practice • concurrent queues • networking sockets io_context,0 码力 | 89 页 | 1.55 MB | 5 月前3Leveraging the Power of C++ for Efficient Machine Learning on Embedded Devices
architecture created by Google ◮ Trained on 1000 classes ◮ Accepts 224x224-pixel images, with 3 color channels per pixel (RGB) ◮ Labels are stored separate from the model: ◮ labels mobilenet quant v1 224.txt recognition ◮ Contains 125 images for each class ◮ Images have various sizes ◮ Images have 3 color channels per pixel (RGB) ◮ Laurence Moroney’s Rock-Paper-Scissors dataset (published by Sani Kamal on Kaggle) into training data (840) and testing data (124) ◮ Images are 300x300 pixels ◮ Images have 3 color channels per pixel (RGB) 35 / 50Train a Rock-Paper-Scissors model ◮ Transfer learning from a ResNet50 model0 码力 | 51 页 | 1.78 MB | 5 月前3julia 1.10.10
operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 23.2 Communicating with Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294 23.3 More task operations . . . 6 Remote References and AbstractChannels . . . . . . . . . . . . . . . . . . . . . . . 319 25.7 Channels and RemoteChannels . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 25.8 Local invocations Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945 47.3 Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 952 47.4 Low-level0 码力 | 1692 页 | 6.34 MB | 3 月前3C++/Rust Interop: Using Bridges in Practice
ChannelsRegistry; #[rust_name = "channels_registry_new"] fn construct_unique() -> UniquePtr; } } fn main() { let mut registry = data_tamer::channels_registry_new(); } main.rs 0 码力 | 45 页 | 724.12 KB | 5 月前3Julia 1.10.9
operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 23.2 Communicating with Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294 23.3 More task operations . . . 6 Remote References and AbstractChannels . . . . . . . . . . . . . . . . . . . . . . . 319 25.7 Channels and RemoteChannels . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 25.8 Local invocations Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945 47.3 Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 952 47.4 Low-level0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.11.6 Release Notes
operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311 24.2 Communicating with Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312 24.3 More task operations . . . 6 Remote References and AbstractChannels . . . . . . . . . . . . . . . . . . . . . . . 338 26.7 Channels and RemoteChannels . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340 26.8 Local invocations Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1092 48.3 Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1102 48.4 Low-level0 码力 | 2007 页 | 6.73 MB | 3 月前3julia 1.13.0 DEV
operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 24.2 Communicating with Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 24.3 More task operations . . . 6 Remote References and AbstractChannels . . . . . . . . . . . . . . . . . . . . . . . 341 26.7 Channels and RemoteChannels . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 26.8 Local invocations Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1135 49.3 Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1145 49.4 Low-level0 码力 | 2058 页 | 7.45 MB | 3 月前3Julia 1.12.0 RC1
operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 24.2 Communicating with Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 24.3 More task operations . . . 6 Remote References and AbstractChannels . . . . . . . . . . . . . . . . . . . . . . . 342 26.7 Channels and RemoteChannels . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344 26.8 Local invocations Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1133 49.3 Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1143 49.4 Low-level0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.12.0 Beta4
operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 24.2 Communicating with Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 24.3 More task operations . . . 6 Remote References and AbstractChannels . . . . . . . . . . . . . . . . . . . . . . . 341 26.7 Channels and RemoteChannels . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 26.8 Local invocations Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1132 49.3 Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1142 49.4 Low-level0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.12.0 Beta3
operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 24.2 Communicating with Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 24.3 More task operations . . . 6 Remote References and AbstractChannels . . . . . . . . . . . . . . . . . . . . . . . 341 26.7 Channels and RemoteChannels . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 26.8 Local invocations Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1132 49.3 Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1142 49.4 Low-level0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 41 条
- 1
- 2
- 3
- 4
- 5