class_docstr: Based on https://github.com/jorge-pessoa/pytorch-gdn (MIT License).
class_docstr_tok: ["Based","on","https",":","\/\/github.com\/jorge-pessoa\/pytorch-gdn","(","MIT","License",")","."]
code: def forward(ctx, data, min):
      ctx.save_for_backward(data, torch.tensor(min))
  
      return data.clamp(min=min)
  
file_path: NeuralCompression/neuralcompression/layers/_simplified_gdn.py
imports: import torch
  import torch.nn
  import torch.nn.functional
  from torch import Tensor
label_desc: Use image node_id 1 for calling the _ClampMin obj's underlying member method code with example usage: obj.forward(ctx, data, min) and returns: data