call method

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

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

Implementation

@override
Tensor<Matrix> call(Tensor<dynamic> input) {
  return reluMatrix(input as Tensor<Matrix>);
}