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

Function sqrt

examples/model_selection/Trails/singa_pkg_code/tensor.py:976–984  ·  view source on GitHub ↗

Args: t (Tensor): input Tensor Returns: a new Tensor whose element y = sqrt(x), x is an element of t

(t)

Source from the content-addressed store, hash-verified

974
975
976def sqrt(t):
977 '''
978 Args:
979 t (Tensor): input Tensor
980
981 Returns:
982 a new Tensor whose element y = sqrt(x), x is an element of t
983 '''
984 return _call_singa_func(singa.Sqrt, t.data)
985
986
987def square(t):

Callers 1

GenConvConfFunction · 0.50

Calls 1

_call_singa_funcFunction · 0.70

Tested by

no test coverage detected