* consider layout_transform in has_multiple_inputs * refactor code * remove debug info * remove subclass assignment * refactoring a little bit * remove default value * remove trailing whitespace * modify test for has_multiple_inputs Co-authored-by: Ubuntu <ubuntu@ip-172-31-40-194.us-west-2.compute.internal>