Where can I declare the compute field function? Computed fields have a computed_field_YOUR_FIELD_MACHINE_NAME_compute() function to compute the field value.

In Drupal in which module I use this?
Any module can defined this function.