Skip to content

Commit aab44b5

Browse files
author
tp-nan
committed
update to 0.3.2rc3
1 parent c2081e0 commit aab44b5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/backend-reference/torch.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ displayed_sidebar: api
1010

1111
| Name | Main Initialization Parameters | Input[Type] | Output[Type] | Note |
1212
|-------------------------------------------|----------------------------------------------------------------------------------|-----------------------------------|-----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|
13-
| [DecodeTensor](#decodetensor) | `color(default=rgb)` | `data[str/bytes]` | result[at::Tensor]<br /> color[str] | |
13+
| [DecodeTensor](#decodetensor) | `color(default=rgb)` ;`data_format(default=nchw)` | `data[str/bytes]` | result[at::Tensor]<br /> color[str] color[rgb,bgr]<br /> data_format[nchw,hwc] *v0.3.2rc3* | |
1414
| [cvtColorTensor](#cvtcolortensor) | color | data[at::Tensor]<br /> color[str] | result[at::Tensor] | |
1515
| [ResizeTensor](#resizetensor) | resize_h,resize_w | data[at::Tensor] | result[at::Tensor] | |
1616
| [PillowResizeTensor](#pillowresizetensor) | resize_h,resize_w | data[at::Tensor] | result[at::Tensor] | CV_8UC3 |

docs/cpp-python/basic.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ For non-containers that fail to convert using the above rules, a custom type wil
7676
| `numpy.ndarray` | Not supported | |
7777
| `torch.Tensor` | `at::Tensor` | |
7878
| `bool` | `bool` | |
79-
| `float` | `double` | |
79+
| `float` | `float` |precision loss |
8080
| `int` | `int` | |
8181
### Container Conversion
8282

i18n/zh/docusaurus-plugin-content-docs/current/backend-reference/torch.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ displayed_sidebar: api
1313

1414
| 名称 | 主要初始化参数 | 输入[类型] | 输出[类型] | 备注 |
1515
|-------------------------------------------|----------------------------------------------------------------------------------|-----------------------------------|-----------------------------------------------------------------------------------------------------------|------------------------------------------|
16-
| [DecodeTensor](#decodetensor) | `color(default=rgb)` | `data[str/bytes]` | result[at::Tensor]<br /> color[str] | |
16+
| [DecodeTensor](#decodetensor) | `color(default=rgb)`;`data_format(default=nchw)` | `data[str/bytes]` | result[at::Tensor]<br /> color[rgb,bgr]<br /> data_format[nchw,hwc] *v0.3.2rc3* | |
1717
| [cvtColorTensor](#cvtcolortensor) | color | data[at::Tensor]<br /> color[str] | result[at::Tensor] | |
1818
| [ResizeTensor](#resizetensor) | resize_h,resize_w | data[at::Tensor] | result[at::Tensor] | |
1919
| [PillowResizeTensor](#pillowresizetensor) | resize_h,resize_w | data[at::Tensor] | result[at::Tensor] | CV_8UC3 |

i18n/zh/docusaurus-plugin-content-docs/current/cpp-python/basic.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ using dict = std::shared_ptr<std::unordered_map<std::string, ipipe::any>>;
7676
| `numpy.ndarray` | 不支持 | |
7777
| `torch.Tensor` | `at::Tensor` | |
7878
| `bool` | `bool` | |
79-
| `float` | `double` | |
79+
| `float` | `float` | 会产生精度损失|
8080
| `int` | `int` | |
8181

8282
### 容器转换

0 commit comments

Comments
 (0)