Renaming of tensor_for_each_element and tensor_add/_sub.

This commit is contained in:
2023-04-11 20:04:23 +02:00
parent 7fa02795a3
commit f7b8589b87
2 changed files with 6 additions and 6 deletions

View File

@@ -55,10 +55,10 @@ void tensor_add_scalar(tensor t, dtype n);
void tensor_sub_scalar(tensor t, dtype n);
void tensor_mult_scalar(tensor t, dtype n);
void tensor_div_scalar(tensor t, dtype n);
int tensor_add(tensor t1, const tensor t2);
int tensor_sub(tensor t1, const tensor t2);
int tensor_add_inplace(tensor t1, const tensor t2);
int tensor_sub_inplace(tensor t1, const tensor t2);
void tensor_for_each_elem(tensor t, dtype (*func)(dtype));
void tensor_map(tensor t, dtype (*func)(dtype));
void tensor_print(const tensor t);
#endif