Last active
August 6, 2017 19:03
-
-
Save kevinrobinson/879f00074105399a3625 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TEST_F(GraphPartitionTest, CrossDeviceData) { | |
| using namespace ::tensorflow::ops; // NOLINT(build/namespaces) | |
| Node* a1 = Input(in_.opts().WithName("A1")); | |
| Node* b1 = Input(in_.opts().WithName("B1")); | |
| Cross(a1, b1, in_.opts().WithName("B2")); | |
| Partition(ToGraphDef(), &partitions_); | |
| EXPECT_EQ(2, partitions_.size()); | |
| // ... there’s some addition assertions, but they require a bit of unwinding | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment