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

Function floor_divide

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

Floor division with numpy-style broadcasting. Parameters ---------- x1 : relax.Expr The first input tensor. x2 : relax.Expr The second input tensor. Returns ------- result : relax.Expr The computed result.

(x1: Expr, x2: Expr)

Source from the content-addressed store, hash-verified

69
70
71def floor_divide(x1: Expr, x2: Expr) -> Expr:
72 """Floor division with numpy-style broadcasting.
73
74 Parameters
75 ----------
76 x1 : relax.Expr
77 The first input tensor.
78 x2 : relax.Expr
79 The second input tensor.
80
81 Returns
82 -------
83 result : relax.Expr
84 The computed result.
85 """
86 return _ffi_api.floor_divide(x1, x2) # type: ignore
87
88
89def log_add_exp(x1: Expr, x2: Expr) -> Expr:

Callers

nothing calls this directly

Calls 1

floor_divideMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…