Is raw_alloc_with_stream equivalent to raw_alloc followed by recordStream?

Additionally, if I want to implement more features using libtorch, where can I learn about these features? It seems like I can only look at the source code.

Thank you very much for your reply.