@Override
    public TensorType type(TypeContext<NAMETYPE> context) { return constant.type(); }
A function which returns a constant tensor.

@author bratseth
vespajlib/src/main/java/com/yahoo/tensor/functions/ConstantTensor.java