forked from NVIDIA/TensorRT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathROIAlign_PluginConfig.yaml
82 lines (82 loc) · 1.74 KB
/
ROIAlign_PluginConfig.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
name: ROIAlign_TRT
interface: "IPluginV2DynamicExt"
versions:
"1":
inputs:
- X
- rois
- batch_indices
outputs:
- Y
input_dims:
X: 4
rois: 2
batch_indices: 1
input_dim_constraints:
- "rois_1 == 4"
- "rois_0 == batch_indices_0"
output_dims:
Y: "X_0, X_1, output_height_0, output_width_0"
attributes:
- coordinate_transformation_mode
- mode
- output_height
- output_width
- sampling_ratio
- spatial_scale
attribute_types:
coordinate_transformation_mode: int32
mode: int32
output_height: int32
output_width: int32
sampling_ratio: int32
spatial_scale: float32
attribute_length:
coordinate_transformation_mode: 1
mode: 1
output_height: 1
output_width: 1
sampling_ratio: 1
spatial_scale: 1
attribute_options:
coordinate_transformation_mode:
- 0
- 1
mode:
- 0
- 1
output_height:
min: "0"
max: "=pinf"
output_width:
min: "0"
max: "=pinf"
sampling_ratio:
min: "=0"
max: "=pinf"
spatial_scale:
min: "0"
max: "=pinf"
attributes_required: []
abs_tol: 1e-4
rel_tol: 1e-4
golden_io_path: "plugin/roiAlignPlugin/ROIAlign_PluginGoldenIO.json"
configs:
aligned_false:
input_types:
X: float32
rois: float32
batch_indices: int32
attribute_options: []
output_types:
Y: float32
aligned_true:
input_types:
X: float32
rois: float32
batch_indices: int32
attribute_options: []
output_types:
Y: float32
...