nerdexam
Huawei

H13-311_V3.5 · Question #231

PyTorch All existing versions support Python2 with Python3?

The correct answer is B. FALSE. B (FALSE) is correct because PyTorch dropped official Python 2 support starting with version 1.4.0 (released January 2020), coinciding with Python 2's own end-of-life. Newer PyTorch versions exclusively support Python 3.x, meaning it is simply not true that all existing…

Deep Learning Basics

Question

PyTorch All existing versions support Python2 with Python3?

Options

  • ATRUE
  • BFALSE

How the community answered

(31 responses)
  • A
    29% (9)
  • B
    71% (22)

Explanation

B (FALSE) is correct because PyTorch dropped official Python 2 support starting with version 1.4.0 (released January 2020), coinciding with Python 2's own end-of-life. Newer PyTorch versions exclusively support Python 3.x, meaning it is simply not true that all existing versions support both Python 2 and Python 3 simultaneously.

Why A is wrong: While early PyTorch releases (pre-1.4) did include Python 2.7 compatibility, that support was eventually removed - so the claim that all versions support Python 2 alongside Python 3 is historically inaccurate and currently false.

Memory tip: Tie the cutoff to the year - Python 2 died in 2020, and PyTorch followed suit at version 1.4. If you remember "1.4 = no more Py2," you can confidently mark any "all versions support Python 2" statement as FALSE.

Topics

#PyTorch#Python version support#Framework compatibility#Deep learning frameworks

Community Discussion

No community discussion yet for this question.

Full H13-311_V3.5 Practice