code: def main():
      my_model = Net()
  
      wandb.init()
  
      best_model = log_model(
          my_model, "my-model", aliases=["boom"], scope_project=True
      )
  
      link_model(best_model, "entity/project/test_portfolio")
  
      wandb.finish()
  
file_path: wandb/tests/functional_tests/t0_main/artifacts/link-model.py
imports: import torch
  import torch.nn
  import torch.nn.functional
  import wandb
  from wandb.beta.workflows import link_model, log_model
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types