Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def evaluate_model(session, binding):
results = session.evaluate(binding, "RunId")
o = results.outputs["softmaxout_1"]
result_tensor = winml.TensorFloat._from(o)
return result_tensor.get_as_vector_view()