Replies: 2 comments 3 replies
-
(Moving this to discussions so it is easier to find later) To answer 1.
To answer 2: Nodes dont have attributes or anything like ONNX, they are mostly purely functional. All configurations are inputs to the node. So that for say
So in the compiler we need the realized data ( In TensorRT, the only dataflow is the actual Tensors being operated on, they are represented by In the case of So as we traverse the JIT graph during compilation we know that all preceding JIT Values will have either an If you look at the documentation for how to write a converter you can see how that is used. |
Beta Was this translation helpful? Give feedback.
-
@narendasan Thanks. |
Beta Was this translation helpful? Give feedback.
-
I have just gone through TRTorch's 2020 GTC talk/slides/documentation focusing mainly on the graph conversion implementation part. There are some confusions of concepts and questions:
torch::jit::Values
andtorch::jit::IValue
, Are they the same thing? I noticed they are used interchangeably in some situations and are referring to different classes in others.Could someone help me? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions