首页 > 解决方案 > 什么相当于 TF 中的 torch.nn.Parameter()?

问题描述

最近我想将使用 pytorch 的代码转换为使用 tensorflow 的代码,但我不知道如何将 torch.nn.Parameter() 替换为 TF 函数。

标签: pytorchtensorflow2.0

解决方案


推荐阅读