ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

Operator

public interface Operator
Known Indirect Subclasses

The common interface for classes that carries an "apply" method, which converts T to another one.

Public Methods

abstract T
apply(T x)
Applies an operation on a T object, returning a T object.

Public Methods

public abstract T apply (T x)

Applies an operation on a T object, returning a T object.

Note: The returned object could probably be the same one with given input, and given input could probably be changed.

Parameters
x