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

Method call

jvm/core/src/main/java/org/apache/tvm/Function.java:199–204  ·  view source on GitHub ↗

Invoke function with arguments. @param args Can be Integer, Long, Float, Double, String, Tensor. @return the result.

(Object... args)

Source from the content-addressed store, hash-verified

197 * @return the result.
198 */
199 public TVMValue call(Object... args) {
200 for (Object arg : args) {
201 pushArgToStack(arg);
202 }
203 return invoke();
204 }
205
206 private static void pushArgToStack(Object arg) {
207 if (arg instanceof TensorBase) {

Callers 4

test_addoneMethod · 0.95
test_strcatMethod · 0.95

Calls 2

pushArgToStackMethod · 0.95
invokeMethod · 0.95

Tested by 4

test_addoneMethod · 0.76
test_strcatMethod · 0.76