Task: Replace -inf Values with Zero in NumPy Array
Task: Replace -inf Values with Zero in NumPy Array: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that replaces all -inf (negative infinity) values in a NumPy array with 0 .
Part of PrimeIntellect/Terminal-Lego-15k.