torchlogix.functional.compute_all_logic_ops_vectorized

torchlogix.functional.compute_all_logic_ops_vectorized(a, b)[source]

Compute all 16 logic operations in a single vectorized operation.

Returns a tensor with shape […, 16] where the last dimension contains all 16 logic operations applied to inputs a and b.