The GetMask function currently uses an empty dictionary as the default argument for feed_dict. This is potentially dangerous, as the global variable may be edited during a run of GetMask. We should change the default value to
None and only pass the feed_dict argument when it is specified by the user.
The GetMask function currently uses an empty dictionary as the default argument for feed_dict. This is potentially dangerous, as the global variable may be edited during a run of GetMask. We should change the default value to None and only pass the feed_dict argument when it is specified by the user.