def _call_survival_function(self, value, name, **kwargs):
with self._name_scope(name):<EOL><INDENT>value = _convert_to_tensor(<EOL>value, name="<STR_LIT:value>", dtype_hint=self.dtype)<EOL>try:<EOL><INDENT>return self._survival_function(value, **kwargs)<EOL><DEDENT>except NotImplementedError as original_exception:<EOL><INDENT>try:<EOL><INDENT>return <NUM_LIT:1.> - self.cdf(value, **kwargs)<EOL><DEDENT>except NotImplementedError:<EOL><INDENT>raise original_exception<EOL><DEDENT><DEDENT><DEDENT>
Wrapper around _survival_function.