Tensor network formulation of symmetry protected topological phases in mixed states | Synapse