How to print the constant numbers in the forward function

Thanks for your comments.