Downvote because while it is true that the math is important, a framework like PyTorch allows for more idiomatic python code. Tensorflow is in its own world being mostly written in C++ and trying to cater to multiple client languages. That means the same math (same networks) will be coded differently in the two libraries/frameworks.