MCPcopy Create free account
hub / github.com/apache/singa / round

Function round

python/singa/autograd.py:5609–5617  ·  view source on GitHub ↗

Element-wise round the input Args: x (Tensor): input tensor. Returns: the output Tensor.

(x)

Source from the content-addressed store, hash-verified

5607
5608
5609def 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
5620class Rounde(Operator):

Callers 2

update_progressFunction · 0.70
random_crop_resizeMethod · 0.70

Calls 1

RoundClass · 0.70

Tested by

no test coverage detected