Semantic-Communication Including the implementation of learned neural network compression algorithm for reconstruction task and non-reconstruction task