concepts.benchmark.clevr.dataset.get_op_type#

get_op_type(op)[source]#

Get the type of the operation. This function is used to handle two different formats of the CLEVR programs.

Parameters:

op (dict) –

Return type:

str