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

operation does not return the correct type on TF_Input #3

Open
SergeStinckwich opened this issue Jun 5, 2018 · 0 comments
Open

operation does not return the correct type on TF_Input #3

SergeStinckwich opened this issue Jun 5, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@SergeStinckwich
Copy link
Member

SergeStinckwich commented Jun 5, 2018

Sending operation message to TF_Input returns an ExternalData object instead of an instance of TF_Operation. See following example :

	| graph c1 c2 sum1 sum2 session result |
	graph := TF_Graph create.
	c1 := graph const: 'c1' value: 3.0 asTensor.
	c2 := graph const: 'c2' value: 4.0 asTensor.
	sum1 := c1 + c2.
	sum2 := sum1 + sum1.
	session := TF_Session on: graph.
	result := session runOutput: (sum2 output: 0).
	input := (graph operationNamed: 'Add_3') input:0.
	input operation
@SergeStinckwich SergeStinckwich added the bug Something isn't working label Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant