session.run() currently does not support bfloat16 inputs because numpy does not support bfloat16. Would it be possible to support the input via np.uint16? session.run() can accept an uint16 value which is the bit representation of the bfloat16 value. ORT should be able to interpret the value correctly because it knows the expected input type of the graph. Same can be done for the float8* types.
session.run()currently does not support bfloat16 inputs because numpy does not support bfloat16. Would it be possible to support the input vianp.uint16?session.run()can accept an uint16 value which is the bit representation of the bfloat16 value. ORT should be able to interpret the value correctly because it knows the expected input type of the graph. Same can be done for the float8* types.