tensor basic
Tensor Basics in PyTorch
Tensors are the basic data structure of the PyTorch library. Deep learning is one of the mainstreams in supervised machine learning, where using the inputs and labeled output, we aim at developing a function to map an input to an output. Deep learning is deep in precisely the sense that its models learn many layers of transformations, where each layer offers the representation at one level [1]. Deep learning frameworks have played a crucial role in disseminating ideas. The first generation of frameworks allowing for easy modeling encompassed Caffe, Torch, and Theano [1].