|
|
|
|
|
by erikgaas
2551 days ago
|
|
You can but it's not ideal. What if you want to write your own cuda kernel for your experiment? Python isn't really setup for this easily unless you want to throw odd c++ integrations into your code. Swift is designed to be a direct match to the underlying instructions. This would make deep learning much more expressive and flexible in Swift, with less errors. This question is addressed extensively in the course. Check out the last two lectures, they do a great job of going over lots of different reasons. |
|
For custom kernel code, what you really want to use is a custom TF op. But I doubt that's what you're getting at anyway, because that's for more advanced use cases.