MCPcopy Create free account
hub / github.com/apache/tvm / atan2

Function atan2

python/tvm/relax/op/binary.py:144–159  ·  view source on GitHub ↗

Atan2 with numpy-style broadcasting. Parameters ---------- x1 : relax.Expr The first input tensor (y-coordinates). x2 : relax.Expr The second input tensor (x-coordinates). Returns ------- result : relax.Expr The computed result.

(x1: Expr, x2: Expr)

Source from the content-addressed store, hash-verified

142
143
144def atan2(x1: Expr, x2: Expr) -> Expr:
145 """Atan2 with numpy-style broadcasting.
146
147 Parameters
148 ----------
149 x1 : relax.Expr
150 The first input tensor (y-coordinates).
151 x2 : relax.Expr
152 The second input tensor (x-coordinates).
153
154 Returns
155 -------
156 result : relax.Expr
157 The computed result.
158 """
159 return _ffi_api.atan2(x1, x2) # type: ignore
160
161
162def subtract(x1: Expr, x2: Expr) -> Expr:

Callers

nothing calls this directly

Calls 1

atan2Method · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…