code: def minus_one_f(samples: Tensor) -> Tensor:
      return -(
          torch.ones(
              samples.shape[0:-1],
              device=samples.device,
              dtype=samples.dtype,
          )
      )
  
imports: import torch
  from botorch.utils import apply_constraints, get_objective_weights_transform
  from botorch.utils.objective import compute_feasibility_indicator, compute_smoothed_feasibility_indicator, soft_eval_constraint
  from botorch.utils.testing import BotorchTestCase
  from torch import Tensor
label_desc: Use image node_id 4 for calling a global function with example usage: minus_one_f(samples) and returns: unknown