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

Method copyFromRaw

jvm/core/src/main/java/org/apache/tvm/Tensor.java:165–167  ·  view source on GitHub ↗

Copy from a raw byte array. @param sourceArray the source data

(byte[] sourceArray)

Source from the content-addressed store, hash-verified

163 * @param sourceArray the source data
164 */
165 public void copyFromRaw(byte[] sourceArray) {
166 Base.checkCall(Base._LIB.tvmFFIDLTensorCopyFromJArray(sourceArray, this.dltensorHandle));
167 }
168
169 /**
170 * Get shape of current Tensor.

Callers 1

copyFromMethod · 0.95

Calls 2

checkCallMethod · 0.95

Tested by

no test coverage detected