concepts.benchmark.clevr.dataset.get_question_type#

get_question_type(program)[source]#

Get the question type from the full program. This function basically returns the type of the last operation in the program.

Parameters:

program (list)

Return type:

str