Implemented the new elementwise functions.

This commit is contained in:
2023-09-15 19:22:43 +02:00
parent 79ed621ba2
commit 5ec1d9e73a
4 changed files with 85 additions and 28 deletions

View File

@@ -4,7 +4,8 @@ tensor tensor_new(void)
{
/* Creates a new tensor struct and returns it.
*
* @return A tensor (pointer to memory for a _tensor struct)
* @return A tensor (pointer to memory for a _tensor struct), if an error
* occurs NULL is returned
*/
return calloc(1, sizeof(struct _tensor));
}