operator * method

Tensor operator *(
  1. dynamic o
)

Element-wise Multiplication (Hadamard Product) Use this for Causal Masking!

Implementation

Tensor operator *(dynamic o) {
  // BUG FIX: Removed 'matmul' from here.
  // This now strictly performs element-wise multiplication.
  return _scalarOp(o, engine.mulTensors);
}