<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _tensor_proto_to_health_pill(self, tensor_event, node_name, device, output_slot):
 """Converts an event_accumulator.TensorEvent to a HealthPillEvent. Args: tensor_event: The event_accumulator.TensorEvent to convert. node_name: The name of the node (without the output slot). device: The device. output_slot: The integer output slot this health pill is relevant to. Returns: A HealthPillEvent. """

    return self._process_health_pill_value(
        wall_time=tensor_event.wall_time,
        step=tensor_event.step,
        device_name=device,
        output_slot=output_slot,
        node_name=node_name,
        tensor_proto=tensor_event.tensor_proto)