Hi~ Can this unittest case help you?
https://github.com/apache/tvm/blob/be03d62e5b0afd607964365bc73e94f72fdfaaef/tests/python/relay/test_vm.py#L1071
---
[Visit
Topic](https://discuss.tvm.apache.org/t/how-to-do-heterogeneous-execution-on-cpu-and-gpu/11561/2)
to respond.
You are receiving t
If you are using `relay.build()` -> `graph_executor.GraphModule` path, the
point I remember is that it should pass a multi-target dict into `target`
argument of build and pass a device list into GraphModule like
```python
lib = relay.build(relay_mod, target={"cpu": "llvm", "gpu": "cuda"},
par
```python
def estimate_region_lower_bound(region, var_dom, predicate):
"""Analyze the region with affine map, given the domain of variables and
their predicate
Parameters
--
region : List[Range]
The region to be analyzed.
var_dom : Dict[Var, Range]
T
Hi, as a context, we can see other dl-frameworks also allow that like
https://www.tensorflow.org/api_docs/python/tf/math/floormod.
For TVM, below is where float `floormod` is lowered to normal arithmetics as `a
- floor(a/b) * b`
https://github.com/apache/tvm/blob/7396be5645fa59cb10ae8ee14b718