RayBNN_DataLoader 2.0.3

Read CSV, numpy, and binary files to Rust vectors of f16, f32, f64, u8, u16, u32, u64, i8, i16, i32, i64
#![allow(unused_parens)]
#![allow(non_snake_case)]

use arrayfire;
use RayBNN_DataLoader;

const BACK_END: arrayfire::Backend = arrayfire::Backend::CUDA;
const DEVICE: i32 = 0;


use rayon::prelude::*;

use rand::{distributions::Standard, Rng};
use std::collections::HashMap;

#[test]
fn test_dataset_csv3() {
    arrayfire::set_backend(BACK_END);
    arrayfire::set_device(DEVICE);


    let mut neuron_pos = RayBNN_DataLoader::Dataset::CSV::file_to_arrayfire::<f64>(
    	"./test_data/neuron_pos3.csv",
    );
	arrayfire::print_gen("neuron_pos".to_string(), &neuron_pos,Some(6));


	assert_eq!(neuron_pos.dims()[0],13);
	assert_eq!(neuron_pos.dims()[1],3);


}