input
Creates an input layer that defines the entry point for data into the network.
Parameters
inputSize
The number of input features/dimensions
id
Optional identifier for the layer (auto-generated if empty)
requiresGrad
Whether the input requires gradients (default: false)