x (ndarray) – The input to the dense layer.
weights (ndarray) – The weights matrix.
biases (ndarray | None) – The biases vector. All 0s if None.
framework (str | None) – An optional framework hint (to figure out,
e.g. whether to transpose torch weight matrices).