Review interpolate for shape inference aspects (#17667)

* Review interpolate shapes and label propagation

* Review shape_infer template implementation

* Update shape infer of interpolate in GPU plugin
- Add new tensor accessor for ov::Tensor map

* Correct casting in dim::scale function

* Remove validation of size of input 1 in v0

* Relax inputs check for interpolate v4

* Correct GPU shape inference

* Use ov::Tensors in interpolate's evaluate
- Remove some duplicated code
- Apply comments from review

* Set shape in interpolate's eval for output tensor
This commit is contained in:
Pawel Raasz authored and GitHub committed 2023-05-30 14:49:54 +04:00
1 parent 328d852f5a
commit 5299c3378b
15 files changed
+1248 -844

No files matched your search

+1 -2
View File
@@ -68,7 +68,7 @@ This is a scalar that specifies padding for each spatial dimension.
**Outputs**
* **1**: Resulting interpolated tensor with elements of the same type as input ``data`` tensor. The shape of the output matches input ``data`` shape except spatial dimensions mentioned in ``axes`` attribute. For other dimensions shape matches sizes from ``target_spaticl_shape`` in order specified in ``axes``.
* **1**: Resulting interpolated tensor with elements of the same type as input ``data`` tensor. The shape of the output matches input ``data`` shape except spatial dimensions mentioned in ``axes`` attribute. For other dimensions shape matches sizes from ``target_spatial_shape`` in order specified in ``axes``.
**Example**
@@ -98,4 +98,3 @@ This is a scalar that specifies padding for each spatial dimension.
</layer>
@endsphinxdirective