使用swift或swift进行张量流时,是否可以在colab笔记本中快速获得帮助?

问题描述 投票:2回答:1

与在笔记本中使用python一样,您可以这样做以获得帮助

??gradient

要么

gradient??

但这不适用于swift:

error: <Cell 8>:1:1: error: '??' is not a prefix unary operator
??gradient

自“?”在swift中用于表示可选,可能存在冲突。该项目很早,但只是为了看看是否有人知道快速帮助可用,可能会采用不同的语法?

google-colaboratory swift-for-tensorflow
1个回答
1
投票

我在Swift-Jupyter项目中没有看到任何这样的功能。

© www.soinside.com 2019 - 2024. All rights reserved.