MCPcopy Index your code
hub / github.com/apache/tvm / Tensor

Method Tensor

jvm/core/src/main/java/org/apache/tvm/Tensor.java:32–36  ·  view source on GitHub ↗
(long handle, boolean isView, TVMType dtype, Device dev)

Source from the content-addressed store, hash-verified

30 private final Device device;
31
32 Tensor(long handle, boolean isView, TVMType dtype, Device dev) {
33 super(handle, isView);
34 this.dtype = dtype;
35 this.device = dev;
36 }
37
38 /**
39 * Copy from a native array.

Callers 15

mainMethod · 0.80
_as_specFunction · 0.80
_detupleFunction · 0.80
new_forwardMethod · 0.80
_get_subroutineMethod · 0.80
get_relax_matmul_moduleFunction · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80
mainMethod · 0.80

Calls

no outgoing calls

Tested by 15

mainMethod · 0.64
mainMethod · 0.64
mainMethod · 0.64
mainMethod · 0.64
mainMethod · 0.64
mainMethod · 0.64
forwardMethod · 0.64
test_nn_export_to_relaxFunction · 0.64
fooFunction · 0.64
test_matmulFunction · 0.64
test_linearFunction · 0.64
test_einsumFunction · 0.64