tf.contrib.rpc.try_rpc
tf.contrib.rpc.try_rpc(
address, method, request, protocol='', fail_fast=True, timeout_in_ms=0,
name=None
)
| Аргументы |
address | A Tensor of type string. |
method | A Tensor of type string. |
request | A Tensor of type string. |
protocol | Необязательный string. По умолчанию "". |
fail_fast | Необязательный bool. По умолчанию True. |
timeout_in_ms | Необязательный int. По умолчанию 0. |
name | Имя операции (необязательно). |
| Возвращаемое значение |
Кортеж из Tensor объектов (response, status_code, status_message). |
response | A Tensor of type string. |
status_code | A Tensor of type int32. |
status_message | A Tensor of type string. |