tensorflow_mri.cartesian_product

cartesian_product(*args)[source]

Cartesian product of input tensors.

Parameters

*argsTensors with rank 1.

Returns

A Tensor of shape [M, N], where N is the number of tensors in args and M is the product of the sizes of all the tensors in args.