Can I use the tutorials of pytorch in my book?

I am writing a chinese book about deep learning, I have a chapter introducing pytorch and I want to translate some of the tutorials. What’s the copyright of these tutorials? If there is any restrict, who should I need to contact with?

I mean things related to copyright.

for a work in the public domain, copyright is not required. do contact the publishers if you are unsure?

I can’t understand. The copyright is owned by pytorch, not my pulisher.

Actually, the copyright is with the authors as far as I know. The license (see the git repo) may allow your use case already (provided you keep the attribution/copyright notice), but it’d still be common courtesy to ask the authors about it.

Best regards