Engine.create_execution_context() is resulting in segmentation fault

Hi, I have fixed these two issues on my own and made it working.
Instead of get_tensor_shape() I used get_binding_shape()
and instead of get_tensor_mode() I have used binding_is_input() which will return a boolean value True if the binding is related to input and false otherwise.

The sample you have shared and asked me to try is working. Thank you for your timely help.

Thanks and Regards

Nagaraj Trivedi