Documentation ¶ Index ¶ func GetData(t *pytorch.Tensor) []mat.Float Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetData ¶ func GetData(t *pytorch.Tensor) []mat.Float GetData returns the data of a PyTorch tensor as a mat.Float slice. It returns the data using the row-major representation, possibly converting column-major order to row-major order. Types ¶ This section is empty. Source Files ¶ View all Source files pytorch.go Click to show internal directories. Click to hide internal directories.