Module hal::utils
[−]
[src]
Functions
array_to_rows |
convert an array into a vector of rows |
array_to_vec |
convery an array to a single vector [loses dimensions] |
assert_types |
Helper to assert all types in a vector are the same |
cast | |
constant |
Helper to return a constant value based on type |
dir_exists |
Returns true if the directory exists (and is a dir) |
download |
Pull a file from URL to a location destination |
file_exists |
Returns true if the file exists (and is a file) |
gradient_check |
Gradient checking helper |
normalize | |
normalize_array | |
numerical_gradient |
Numerical gradient calculator |
raw_to_array |
Convert a generic vector to an Array |
read_csv | |
row_plane | |
row_planes | |
rows_to_array | |
scale | |
set_row_plane | |
set_row_planes | |
shuffle_array | |
shuffle_matrix | |
swap_col | |
swap_row | |
ungzip | |
untar | |
vec_to_array |
Convert a vector of elements to a vector of Array |
verify_gradient_kinks |
Gradient checking helper for objective with 'kinks' like: relu, lrelu, etc |
verify_gradient_smooth |
Gradient checking helper for smooth functions like : tanh / sigmoid / softmax |
write_csv |