Replies: 3 comments
-
I found the explanation in Tensorflow are very good for understanding trace. In TF
|
Beta Was this translation helpful? Give feedback.
-
Tracing is recording the computation with zero FLOP. |
Beta Was this translation helpful? Give feedback.
-
Actually |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am learning jax. However, I find it is difficult to understand some concepts related with tracing in the tutorial.
What is tracing when we discuss tracing and static variables. I only encountered the trace when using logger. Obviously, it has a different meaning in jax programming language. My naive understanding is by saying tracing something, we do some compiling and optimization to speed up by providing more information.
Why do we need tracing? And how can we distinguish the tracing and static variables? I notice that example code here
Since the control flow is determined by the content of the
neg
, we need to use static variables. My questions is, can I say only when the variables influence the control flow I should use static variables? And does using a lot of static variables slows down the execution?Beta Was this translation helpful? Give feedback.
All reactions