call method

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

Applies the Leaky ReLU function element-wise to the input tensor.

Implementation

@override
Tensor<Vector> call(Tensor<dynamic> input) {
  return vectorLeakyReLU(input as Tensor<Vector>, alpha: alpha);
}