SetShape sets the sizes parameters of the tensor, and resizes backing storage appropriately. existing names will be preserved if not presented.
(sizes []int, names ...string)
| 144 | // SetShape sets the sizes parameters of the tensor, and resizes backing storage appropriately. |
| 145 | // existing names will be preserved if not presented. |
| 146 | SetShape(sizes []int, names ...string) |
| 147 | |
| 148 | // SetNumRows sets the number of rows (outer-most dimension). |
| 149 | SetNumRows(rows int) |
no outgoing calls