날짜를 저장하십시오! Google I / O가 5 월 18 일부터 20 일까지 반환됩니다. 지금 등록

tff.sequence_sum

Computes a sum of elements in a sequence.

Used in the notebooks

Used in the tutorials

value A value of a TFF type that is either a sequence, or a federated sequence.

The sum of elements in the sequence. If the argument value is of a federated type, the result is also of a federated type, with the sum computed locally and independently at each location (see also a discussion on sequence_map and sequence_reduce).

TypeError If the arguments are of wrong or unsupported types.