Implement a function that initializes a weight tensor using one of four standard initialization methods.