def METHOD_NAME(self, dim_partition):
    dim_partition_dict_mapping = {"input": dim_partition, "output": dim_partition}
    sharding_spec_mapping = self.to_sharding_spec_mapping(dim_partition_dict_mapping)
    name = f'{sharding_spec_mapping["output"].sharding_sequence} = {sharding_spec_mapping["input"].sharding_sequence}'
    communication_action_mapping = {}
    strategy = self.get_sharding_strategy(name=name,
                                          sharding_spec_mapping=sharding_spec_mapping,
                                          communication_action_mapping=communication_action_mapping)
    return strategy