DEPRECATED: use `update_config_proto` instead. Configures the strategy class. DEPRECATED: This method's functionality has been split into the strategy constructor and `update_config_proto`. In the future, we will allow passing cluster and config_proto to the constructor to configur
(self,
session_config=None,
cluster_spec=None,
task_type=None,
task_id=None)
| 915 | |
| 916 | @doc_controls.do_not_doc_inheritable # DEPRECATED: see doc string |
| 917 | def configure(self, |
| 918 | session_config=None, |
| 919 | cluster_spec=None, |
| 920 | task_type=None, |
| 921 | task_id=None): |
| 922 | # pylint: disable=g-doc-return-or-yield,g-doc-args |
| 923 | """DEPRECATED: use `update_config_proto` instead. |
| 924 | |
| 925 | Configures the strategy class. |
| 926 | |
| 927 | DEPRECATED: This method's functionality has been split into the strategy |
| 928 | constructor and `update_config_proto`. In the future, we will allow passing |
| 929 | cluster and config_proto to the constructor to configure the strategy. And |
| 930 | `update_config_proto` can be used to update the config_proto based on the |
| 931 | specific strategy. |
| 932 | """ |
| 933 | return self._extended._configure( # pylint: disable=protected-access |
| 934 | session_config, cluster_spec, task_type, task_id) |
| 935 | |
| 936 | @doc_controls.do_not_generate_docs # DEPRECATED |
| 937 | def update_config_proto(self, config_proto): |