code: def set_output_feature_tensor(
      output_dict: Dict[str, torch.Tensor],
      feature_name: str,
      tensor_name: str,
      tensor: torch.Tensor,
  ):
      """Adds tensor for the given feature_name and tensor_name to the tensor dict."""
      output_dict[
          get_feature_concat_name(feature_name, tensor_name)
      ] = tensor
  
file_path: ludwig/ludwig/utils/output_feature_utils.py
imports: from typing import Dict, List
  import numpy
  import torch
  from ludwig.utils.torch_utils import sequence_length_3D, sequence_mask
label_desc: Use image node_id 6 for calling a global function with example usage: set_output_feature_tensor(output_dict, feature_name, tensor_name, tensor) without return types