code: def ones(tensor: Any):
      constant(tensor, 1.0)
  
file_path: pytorch_geometric/torch_geometric/nn/inits.py
imports: import math
  from typing import Any
  import torch
  from torch import Tensor
label_desc: Use image node_id 7 for calling a global function with example usage: ones(tensor) without return types