Element-wise round the input Args: x (Tensor): input tensor. Returns: the output Tensor.
(x)
| 5607 | |
| 5608 | |
| 5609 | def round(x): |
| 5610 | """ |
| 5611 | Element-wise round the input |
| 5612 | Args: |
| 5613 | x (Tensor): input tensor. |
| 5614 | Returns: |
| 5615 | the output Tensor. |
| 5616 | """ |
| 5617 | return Round()(x)[0] |
| 5618 | |
| 5619 | |
| 5620 | class Rounde(Operator): |
no test coverage detected