ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Exager execution
    라이브러리/PyTorch 2022. 3. 7. 13:44

    Tensorflow vs. PyTorch

     

    The initial difference between these two was that PyTorch was based on eager execution whereas TensorFlow was built on graph-based deferred execution. Although, TensorFlow now also provides an eager execution mode.

     

    Eager execution is basically an imperative programming mode where mathematical operations are computed immediately. A deferred execution mode would have all the operations stored in a computational graph without immediate calculations and then the entire graph would be evaluated later. Eager execution is considered advantageous for reasons such as intuitive flow, easy debugging, and less scaffolding code.

     

     

    Reference

    Mastering PyTorch

    '라이브러리 > PyTorch' 카테고리의 다른 글

    gc.collect, torch.cuda.empty_cache()  (0) 2022.04.25
    Tensor moduels  (0) 2022.03.07
    torch.utils.data  (0) 2022.03.07
    torch.optim  (0) 2022.03.07
    torch.nn  (0) 2022.03.07

    댓글

Designed by Tistory.