将哪些参数传递给预测函数?是否有任何文档可用于使用 siddhi 的 tensorflow 插件?
虽然样本中有一个 pbtxt 模型,但它本身非常模糊,没有关于使用什么来预测什么的背景。
@App:name("TensorFlowTestApp")
define stream InputStream (x string);
@sink(type='log')
define stream OutputStream (outputPoint0 double, outputPoint1 double);
@info(name = 'query1')
from InputStream#tensorFlow:predict('{SP_HOME}/samples/artifacts/TensorflowSample/Regression', 'inputPoint', 'outputPoint', x)
select outputPoint0, outputPoint1
insert into OutputStream;
有人可以帮我理解吗?