* @brief Represents a tensor on the GPU, which is a buffer of values with a * shape. * * @code * Tensor tensor = createTensor(ctx, {256, 256}, kf32); * @endcode */
| 100 | * @endcode |
| 101 | */ |
| 102 | struct Tensor { |
| 103 | Array data; |
| 104 | Shape shape; |
| 105 | }; |
| 106 | |
| 107 | /** |
| 108 | * @brief Represents a non-owning view into a tensor specifying an offset and a |
nothing calls this directly
no outgoing calls
no test coverage detected