from() — pytorch Function Reference
Architecture documentation for the from() function in IValue.java from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD b74f9205_7f1e_0b2e_bbca_eb4da32b8b65["from()"] 31765eba_2156_9ce9_5919_ef9cd4260583["IValue()"] b74f9205_7f1e_0b2e_bbca_eb4da32b8b65 -->|calls| 31765eba_2156_9ce9_5919_ef9cd4260583 style b74f9205_7f1e_0b2e_bbca_eb4da32b8b65 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android/src/main/java/org/pytorch/IValue.java lines 145–150
@DoNotStrip
public static IValue from(Tensor tensor) {
final IValue iv = new IValue(TYPE_CODE_TENSOR);
iv.mData = tensor;
return iv;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does from() do?
from() is a function in the pytorch codebase.
What does from() call?
from() calls 1 function(s): IValue.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free