Renaming of tensor_for_each_element and tensor_add/_sub.
This commit is contained in:
6
tensor.h
6
tensor.h
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user