call method

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

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

Implementation

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