How do I change control flow in Tensorflow?
up vote
0
down vote
favorite
I am trying to create a graph with multiple possible inputs. Essentially allowing me to multiple versions of an image. For example, either a plain image, or add an image which will be rotated or an image which will be cropped. So I am trying to create a graph like this:
A --> C --> D --> E
^
/
B --
Where A, B and C are possible inputs. I would like to use something like the merge operation mentioned here but I am not sure if this is actually implemented.
What kind of control flow can I actually use and is there a better or more idiomatic way to build such a graph?
tensorflow
add a comment |
up vote
0
down vote
favorite
I am trying to create a graph with multiple possible inputs. Essentially allowing me to multiple versions of an image. For example, either a plain image, or add an image which will be rotated or an image which will be cropped. So I am trying to create a graph like this:
A --> C --> D --> E
^
/
B --
Where A, B and C are possible inputs. I would like to use something like the merge operation mentioned here but I am not sure if this is actually implemented.
What kind of control flow can I actually use and is there a better or more idiomatic way to build such a graph?
tensorflow
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to create a graph with multiple possible inputs. Essentially allowing me to multiple versions of an image. For example, either a plain image, or add an image which will be rotated or an image which will be cropped. So I am trying to create a graph like this:
A --> C --> D --> E
^
/
B --
Where A, B and C are possible inputs. I would like to use something like the merge operation mentioned here but I am not sure if this is actually implemented.
What kind of control flow can I actually use and is there a better or more idiomatic way to build such a graph?
tensorflow
I am trying to create a graph with multiple possible inputs. Essentially allowing me to multiple versions of an image. For example, either a plain image, or add an image which will be rotated or an image which will be cropped. So I am trying to create a graph like this:
A --> C --> D --> E
^
/
B --
Where A, B and C are possible inputs. I would like to use something like the merge operation mentioned here but I am not sure if this is actually implemented.
What kind of control flow can I actually use and is there a better or more idiomatic way to build such a graph?
tensorflow
tensorflow
asked Nov 7 at 10:25
Pumpkin
537
537
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53187573%2fhow-do-i-change-control-flow-in-tensorflow%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown