Package com.yahoo.tensor.evaluation
Interface TypeContext<NAMETYPE extends Name>
-
- All Known Subinterfaces:
EvaluationContext<NAMETYPE>
- All Known Implementing Classes:
MapEvaluationContext
public interface TypeContext<NAMETYPE extends Name>
Provides type information about a context (set of variable bindings).- Author:
- bratseth
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TensorType
getType(String name)
Returns the type of the tensor with this name by converting from a string name.TensorType
getType(NAMETYPE name)
Returns the type of the tensor with this name.
-
-
-
Method Detail
-
getType
TensorType getType(NAMETYPE name)
Returns the type of the tensor with this name.- Returns:
- returns the type of the tensor which will be returned by calling getTensor(name) or null if getTensor will return null.
-
getType
TensorType getType(String name)
Returns the type of the tensor with this name by converting from a string name.- Returns:
- returns the type of the tensor which will be returned by calling getTensor(name) or null if getTensor will return null.
-
-