(ctx, x)
| 133 | @staticmethod |
| 134 | @contiguous |
| 135 | def forward(ctx, x): |
| 136 | T, D = x.numel(), x.shape[-1] |
| 137 | y = torch.empty_like(x) |
| 138 | logsigmoid_fwd_kernel[lambda meta: (triton.cdiv(meta['T'], meta['D']),)](x, y, T=T, D=D) |
| 139 | ctx.save_for_backward(x,) |
| 140 | return y |
| 141 | |
| 142 | @staticmethod |
| 143 | @contiguous |
nothing calls this directly
no outgoing calls
no test coverage detected