Skip to content

Commit

Permalink
update convert list (PaddlePaddle#5795)
Browse files Browse the repository at this point in the history
  • Loading branch information
huajiao-hjyp authored Apr 15, 2023
1 parent 15f9169 commit 3ae6523
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [ 参数完全一致 ]torch.Tensor.det
## [ 无参数 ]torch.Tensor.det

### [torch.Tensor.det](https://pytorch.org/docs/stable/generated/torch.Tensor.det.html?highlight=det#torch.Tensor.det)

Expand All @@ -12,10 +12,4 @@ torch.Tensor.det()
paddle.linalg.det(x)
```

两者功能参数完全一致,其中 torch 是类成员函数,而 paddle 是非类成员函数,因此输入参数 `x` 不进行对比,具体如下:

### 参数映射

| PyTorch | PaddlePaddle | 备注 |
| ------- | ------------ | ---------------------------------------------------------------------------------------- |
| - | x | 输入一个或批量矩阵。x 的形状应为 [*, M, M],其中 * 为零或更大的批次维度,仅参数名不同。 |
两者功能一致,均无参数。
Loading

0 comments on commit 3ae6523

Please sign in to comment.