IDMLDispatchable::GetBindingProperties method (directml.h)
Retrieves the binding properties for a dispatchable object (an operator initializer, or a compiled operator). The binding properties value contains the required size of the binding table in descriptors, as well as the required size in bytes of the temporary and persistent resources required to execute this object.
When called on an operator initializer, the binding properties of the object may be different if retrieved both before and after a call to IDMLOperatorInitializer::Reset.
A DML_BINDING_PROPERTIES value containing binding properties.