call method

  1. @override
Tensor<Vector> call(
  1. Tensor input
)
override

Applies the Sigmoid function element-wise to the input tensor.

This method calls the underlying sigmoid operation, which handles both the forward calculation and the connection to the autograd graph for the backward pass.

Implementation

@override
Tensor<Vector> call(Tensor<dynamic> input) {
  return sigmoid(input as Tensor<Vector>);
}