blob: bce2e237e6ad250f43849b0f7dd89060047c9b6f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package com.yahoo.tensor.functions;
/**
* An inspectable representation of a tensor function which is able to be translated to a set of primitive
* tensor functions if necessary.
* All tensor functions are immutable.
*
* @author bratseth
*/
public abstract class TensorFunction {
/**
* Translate this function - and all of its arguments recursively -
* to a tree of primitive functions only.
*
* @return a tree of primitive functions implementing this
*/
public abstract PrimitiveTensorFunction toPrimitive();
}
|