Fixed misleading view name for weights view

Changed dd_inference_variables_mapped_weights to dd_inference_weights_mapping.

- Fixed code and documents
- Kept the original view for backward compatibility