...
enum class DispatchMode {
kUndefined = -1,
// dispatch on FCompute interface
kFCompute,
// dispatch on FComputeEx interface
kFComputeEx,
// dispatch on FCompute interface with inputs / outputs converted to dense NDArrays
// fallback usually requires extra temporary resource
kFComputeFallback,
// special dispatch mode reserved for variables
kVariable,
};
...