Nanophotonics-assisted Optical neural networks