I run on onnx for Input name ('obs_0', 'action_masks'), It will error null for action_masks because It can't find key 'action_masks' due you find key in unsort key with BinSearch function.
I fix by replace all BinSearch with
i:=IndexOfKey(Key);
// i:= TTools.BinSearch(Keys ,key,Length(Keys));
I run on onnx for Input name ('obs_0', 'action_masks'), It will error null for action_masks because It can't find key 'action_masks' due you find key in unsort key with BinSearch function.
I fix by replace all BinSearch with i:=IndexOfKey(Key); // i:= TTools.BinSearch(Keys ,key,Length(Keys));
Thank you.