DCP: Learning Accelerator Dataflow for Neural Network via Propagation