Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting array/slice type handling working by using tf.NewTensor() #14

Merged
merged 4 commits into from
Jun 19, 2019

Conversation

abramvandergeest
Copy link
Contributor

No description provided.

@abramvandergeest
Copy link
Contributor Author

I add the kafka flow outlier demo in the examples.

@@ -76,6 +75,7 @@ func (i *TensorflowModel) Run(model *models.Model) (out map[string]interface{},
default:

log.RootLogger().Info("Type not a Slice, Array, Map, or Pointer/Tensor, but still trying to make a tf.Tensor.")
fmt.Println(model.Inputs[inputName])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove println. replace with a proper log statement

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made the change and pushed it to here

@abramvandergeest abramvandergeest merged commit bf84245 into project-flogo:master Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants