Indexing, Views, and Accessing Values
The Indexing, Views, and Accessing Values tutorial demonstrates for DiffKt how to access values in a tensor. Both the indexing operator, [...], and the view() function are used for indexing. The tutorial also shows how take a section from a tensor. A section could be a 1D vector or 2D array that is a subset of the tensor. Lastly, the tutorial shows how to access the actual Float values in a tensor.