|View source on GitHub|
Computes outer operation of last dimensions of each of given tensors.
tfl.lattice_lib.batch_outer_operation( list_of_tensors, operation=tf.multiply )
list_of_tensors: List of tensors of same shape
(batch_size, ..., k[i])where everything expect
operation: Binary TF operation which supports broadcasting to be applied.
Tensor of shape:
(batch_size, ..., mul_i(k[i])).