Does xgboost accept pytorch tensors?

does xgboost accept pytorch tensors? I wanted add xgboost regressor as last layer in FC layer!!
Has anybody done it yet ?
My base model is efficientnet_b2.

I don’t think xgboost will directly accept tensors, but would expect numpy or cupy arrays, so you could transform your tensor to one of these types.