Here are some suggestions you can follow to resolve the issue,
First, ensure you’re using the correct method to get leaf values. The method call_get_leaves is not a standard TFDF method. Instead, you can use get_leaves:
leaf_values = tfdf_model.get_leaves(inputs)
If you’re still getting a tensor with shape (None, None), it might be due to the dynamic nature of the input. Try to use a concrete input shape: