I need help with the function for reading the binary file. I’m using
function read_bin(filename, dims::N) where N<:Integer stream = open(filename, "r"); data = read(stream, Float16, dims); close(stream); return data end
but this is giving error that I can not solve. Can someone help me?