diff options
author | Jonathan Hseu <jhseu@google.com> | 2017-02-14 17:30:02 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-02-14 17:47:15 -0800 |
commit | dd51f989b8ca738da8a04970857597ed68fa1a15 (patch) | |
tree | 6f7738c4d94c45b958f9d279ddaf28c71077ba57 /tensorflow/go/session_test.go | |
parent | b5d6636e5d60dc3094285d097264c3d1cf250a53 (diff) |
Go: Add a SavedModel type
Change: 147543652
Diffstat (limited to 'tensorflow/go/session_test.go')
-rw-r--r-- | tensorflow/go/session_test.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tensorflow/go/session_test.go b/tensorflow/go/session_test.go index ccd7d85295..14ecca402b 100644 --- a/tensorflow/go/session_test.go +++ b/tensorflow/go/session_test.go @@ -181,15 +181,3 @@ func TestConcurrency(t *testing.T) { t.Errorf("Close() 2: %v", err) } } - -func TestSavedModel(t *testing.T) { - _, graph, err := LoadSavedModel("../cc/saved_model/testdata/half_plus_two/00000123", []string{"serve"}, nil) - if err != nil { - t.Fatalf("LoadSavedModel(): %v", err) - } - if op := graph.Operation("y"); op == nil { - t.Fatalf("\"y\" not found in graph") - } - // TODO(jhseu): half_plus_two has a tf.Example proto dependency to run. Add a - // more thorough test when the generated protobufs are available. -} |