def read_lines(file_path):

    with open(file_path, "rb") as f:
        return [line.strip("\n").strip("\r") for line in f.readlines()]
Determine the number of samples in a batch.
dataset/ETHPy150Open haesken/dftools/lib/dftlib.py/read_lines--crossover with--dataset/ETHPy150Open bmcfee/pescador/pescador/util.py/batch_length