code: def entropy_loss(entropy: Tensor, ent_coef: float) -> Tensor:
      return -entropy.mean() * ent_coef
  
imports: import torch
  import torch.nn.functional
  from torch import Tensor
label_desc: Use image node_id 3 for calling a global function with example usage: entropy_loss(entropy, ent_coef) and returns: unknown