技术栈
metal
伊织code
2 个月前
人工智能
·
pytorch
·
macos
·
metal
·
mps
Accelerated PyTorch training on Mac
本文翻译整理自:Accelerated PyTorch training on Mac https://developer.apple.com/metal/pytorch/
伊织code
2 个月前
pytorch
·
macos
·
apple
·
metal
·
mps
MPS 后端
本文来自: https://pytorch.org/docs/stable/notes/mps.html https://pytorch.ac.cn/docs/stable/notes/mps.html
westwindrest
6 个月前
ios
·
swiftui
·
metal
在 SwiftUI 中使用 Metal Shader
从 iOS 17/macOS 14 开始,SwiftUI 支持使用 Metal shader 来实现一些特效。主要提供三个 View Modifier:colorEffect、 distortionEffect 和 layerEffect 。每个 modifier 的第一个参数是传入的 Shader 实例。