HF RL Explorer

Task: In-place Type Conversion of a NumPy Array

Task: In-place Type Conversion of a NumPy Array: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a Python solution that converts a NumPy array from int32 to float32 in place (without creating a copy of the array). This is important for memory efficiency when working with large…

The task

You need to implement a Python solution that converts a NumPy array from `int32` to `float32` **in place** (without creating a copy of the array). This is important for memory efficiency when working with large arrays.

Part of PrimeIntellect/Terminal-Lego-15k.