[DML EP] ConstantsOfShape - Empty Output and EinSum - Optional Parameter (#9361)
* Added null check before filling tensor with a value. Passing optional parameter for EinSum in case of MatMul type
* Addressed comment on the PR
Co-authored-by: Sumit Agarwal <sumitagarwal@microsoft.com>