Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BabitMF/bmf
/ copyFrom
Method
copyFrom
bmf/hmp/java/src/main/java/com/bytedance/hmp/Tensor.java:181–184 ·
view source on GitHub ↗
(Tensor from)
Source
from the content-addressed store, hash-verified
179
}
180
181
public
void
copyFrom(Tensor from)
182
{
183
Api.tensor_copy_from(ptr, from.getPtr());
184
}
185
186
187
///
Callers
1
testDataCopy
Method · 0.95
Calls
2
tensor_copy_from
Method · 0.95
getPtr
Method · 0.80
Tested by
1
testDataCopy
Method · 0.76