xiaoshui240

Results 7 comments of xiaoshui240

> > 我尝试运行三维tensor相乘,在tensorflow中,只需要第一个维度相同,得到结果是后面两个维度相乘。但Rosetta似乎不支持? 报错: ValueError: Shape must be rank 2 but is rank 3 for 'RttMatmul' (op: 'RttMatmul') with input shapes: [2,2,3], [2,3,2]. 代码如下: > > ``` > > #!/usr/bin/env...

好的,谢谢 > > 对的,我的刚好是3.6.9,必须要3.6.9以上或者是3.7版本才行吗 > > ![image](https://user-images.githubusercontent.com/45935100/172747013-2704885e-cc0e-46b5-b288-10a5d55b2aeb.png) > > 你可以尝试看一下 `rosetta.sh` 脚本大概就知道逻辑了。

> 对了,如果我强制转换rtttensor的类型后还能完成隐私计算吗,像下面一条语句,再怎么转换也不行 outputs = tf.where(tf.equal(future_masks, 0), paddings, inputs)

> > > > tf.where 算子目前的 rosetta 版本还没有支持,你可以在算子文档中查看一下 rosetta 到底支持哪些算子。 (PS:还有一些已经支持的算子还未进行正式开源) 你好,想再请教下,我现在已经重装了Rosetta,python也重装成3.7了,shape的问题解决了,但在两个三维tensor相乘却报错了,ValueError: Shape must be rank 2 but is rank 3 for 'encoder/num_blocks_0/multihead_attention/scaled_dot_product_attention/RttMatmul_3' (op: 'RttMatmul') with input shapes: [?,?,32], [?,32,?].代码是outputs...

> > > > > > > > > > > > > tf.where 算子目前的 rosetta 版本还没有支持,你可以在算子文档中查看一下 rosetta 到底支持哪些算子。 (PS:还有一些已经支持的算子还未进行正式开源) > > > > > > 你好,想再请教下,我现在已经重装了Rosetta,python也重装成3.7了,shape的问题解决了,但在两个三维tensor相乘却报错了,ValueError: Shape must be...