code: def log_scalar(name, value, _):
      """Log a scalar value to both MLflow and TensorBoard"""
      mlflow.log_metric(name, value)
  
file_path: BentoML/examples/mlflow/pytorch/mnist.py
imports: import argparse
  import os
  import mlflow
  import mlflow.pytorch
  import torch
  import torch.nn
  import torch.nn.functional
  import torch.optim
  from torchvision import datasets
  from torchvision import transforms
  import bentoml
label_desc: Use image node_id 3 for calling a global function with example usage: log_scalar(name, value, _) without return types