Home
last modified time | relevance | path

Searched refs:TF_EXPECT_OK (Results 1 – 25 of 201) sorted by relevance

123456789

/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system_test.cc76 TF_EXPECT_OK(hdfs.NewRandomAccessFile(fname, &reader)); in TEST_F()
79 TF_EXPECT_OK(reader->Name(&result)); in TEST_F()
84 TF_EXPECT_OK( in TEST_F()
91 TF_EXPECT_OK(reader->Read(2, 4, &result, gtl::string_as_array(&got))); in TEST_F()
99 TF_EXPECT_OK(hdfs.NewWritableFile(fname, &writer)); in TEST_F()
101 TF_EXPECT_OK(writer->Name(&result)); in TEST_F()
103 TF_EXPECT_OK(writer->Append("content1,")); in TEST_F()
105 TF_EXPECT_OK(writer->Tell(&pos)); in TEST_F()
107 TF_EXPECT_OK(writer->Append("content2")); in TEST_F()
108 TF_EXPECT_OK(writer->Flush()); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system_test.cc77 TF_EXPECT_OK(s3fs.NewRandomAccessFile(fname, &reader)); in TEST_F()
82 TF_EXPECT_OK( in TEST_F()
89 TF_EXPECT_OK(reader->Read(2, 4, &result, gtl::string_as_array(&got))); in TEST_F()
97 TF_EXPECT_OK(s3fs.NewWritableFile(fname, &writer)); in TEST_F()
98 TF_EXPECT_OK(writer->Append("content1,")); in TEST_F()
99 TF_EXPECT_OK(writer->Append("content2")); in TEST_F()
100 TF_EXPECT_OK(writer->Flush()); in TEST_F()
101 TF_EXPECT_OK(writer->Sync()); in TEST_F()
102 TF_EXPECT_OK(writer->Close()); in TEST_F()
105 TF_EXPECT_OK(ReadAll(fname, &content)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io_test.cc73 TF_EXPECT_OK(EncodeAudioAsS16LEWav(audio, 44100, 2, 3, &result)); in TEST()
75 TF_EXPECT_OK(EncodeAudioAsS16LEWav(audio, 22050, 1, 6, &result)); in TEST()
77 TF_EXPECT_OK(EncodeAudioAsS16LEWav(audio, 8000, 1, 6, &result)); in TEST()
84 TF_EXPECT_OK(EncodeAudioAsS16LEWav(audio, 22050, 1, 5, &result)); in TEST()
132 TF_EXPECT_OK(EncodeAudioAsS16LEWav(audio, 44100, 1, 4, &result)); in TEST()
161 TF_EXPECT_OK(EncodeAudioAsS16LEWav(audio, 44100, 2, 2, &result)); in TEST()
213 TF_EXPECT_OK(IncrementOffset(0, 10, 20, &new_offset)); in TEST()
217 TF_EXPECT_OK(IncrementOffset(10, 4, 20, &new_offset)); in TEST()
221 TF_EXPECT_OK(IncrementOffset(99, 1, 100, &new_offset)); in TEST()
246 TF_EXPECT_OK(ExpectText(test_string, "Expected", &offset)); in TEST()
[all …]
/external/tensorflow/tensorflow/core/platform/cloud/
Dram_file_block_cache_test.cc72 TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out)); in TEST()
77 TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out)); in TEST()
82 TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out)); in TEST()
107 TF_EXPECT_OK(ReadCache(&cache1, want_filename, want_offset, want_n, &out)); in TEST()
109 TF_EXPECT_OK(ReadCache(&cache2, want_filename, want_offset, want_n, &out)); in TEST()
111 TF_EXPECT_OK(ReadCache(&cache3, want_filename, want_offset, want_n, &out)); in TEST()
142 TF_EXPECT_OK(ReadCache(&cache, "", offset, n, &got)); in TEST()
190 TF_EXPECT_OK(ReadCache(&cache, "", block_size * j, block_size, &out)); in TEST()
224 TF_EXPECT_OK(ReadCache(&cache, "", 0, block_size, &out)); in TEST()
235 TF_EXPECT_OK(ReadCache(&cache, "", block_size, block_size, &out)); in TEST()
[all …]
Dgcs_file_system_test.cc80 TF_EXPECT_OK(fs.NewRandomAccessFile("gs://bucket/random_access.txt", &file)); in TEST()
83 TF_EXPECT_OK(file->Name(&filename)); in TEST()
90 TF_EXPECT_OK(file->Read(0, sizeof(scratch), &result, scratch)); in TEST()
123 TF_EXPECT_OK(fs.NewRandomAccessFile("gs://bucket/random_access.txt", &file)); in TEST()
169 TF_EXPECT_OK(fs.NewRandomAccessFile(bucket, &file)); in TEST()
170 TF_EXPECT_OK(fs.NewRandomAccessFile(bucket, &file)); in TEST()
173 TF_EXPECT_OK(fs.NewRandomAccessFile(another_bucket, &file)); in TEST()
175 TF_EXPECT_OK(fs.NewRandomAccessFile(bucket, &file)); in TEST()
176 TF_EXPECT_OK(fs.NewRandomAccessFile(another_bucket, &file)); in TEST()
180 TF_EXPECT_OK(fs.NewRandomAccessFile(bucket, &file)); in TEST()
[all …]
Dexpiring_lru_cache_test.cc103 TF_EXPECT_OK(cache1.LookupOrCompute("a", &value, compute_func)); in TEST()
107 TF_EXPECT_OK(cache1.LookupOrCompute("a", &value, compute_func)); in TEST()
117 TF_EXPECT_OK(cache2.LookupOrCompute("a", &value, compute_func)); in TEST()
121 TF_EXPECT_OK(cache2.LookupOrCompute("a", &value, compute_func)); in TEST()
126 TF_EXPECT_OK(cache2.LookupOrCompute("b", &value, compute_func)); in TEST()
129 TF_EXPECT_OK(cache2.LookupOrCompute("c", &value, compute_func)); in TEST()
132 TF_EXPECT_OK(cache2.LookupOrCompute("d", &value, compute_func)); in TEST()
135 TF_EXPECT_OK(cache2.LookupOrCompute("e", &value, compute_func)); in TEST()
139 TF_EXPECT_OK(cache2.LookupOrCompute("b", &value, compute_func)); in TEST()
142 TF_EXPECT_OK(cache2.LookupOrCompute("c", &value, compute_func)); in TEST()
[all …]
Dgoogle_auth_provider_test.cc105 TF_EXPECT_OK(provider.GetToken(&token)); in TEST_F()
114 TF_EXPECT_OK(provider.GetToken(&token)); in TEST_F()
119 TF_EXPECT_OK(provider.GetToken(&token)); in TEST_F()
142 TF_EXPECT_OK(provider.GetToken(&token)); in TEST_F()
188 TF_EXPECT_OK(provider.GetToken(&token)); in TEST_F()
193 TF_EXPECT_OK(provider.GetToken(&token)); in TEST_F()
198 TF_EXPECT_OK(provider.GetToken(&token)); in TEST_F()
216 TF_EXPECT_OK(provider.GetToken(&token)); in TEST_F()
238 TF_EXPECT_OK(provider.GetToken(&token)); in TEST_F()
253 TF_EXPECT_OK(provider.GetToken(&token)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/util/
Dreporter_test.cc38 TF_EXPECT_OK(test_reporter.Initialize()); in TEST()
39 TF_EXPECT_OK(test_reporter.Close()); in TEST()
58 TF_EXPECT_OK(s); in TEST()
60 TF_EXPECT_OK(s); in TEST()
73 TF_EXPECT_OK(test_reporter.Initialize()); in TEST()
86 TF_EXPECT_OK(test_reporter.Initialize()); in TEST()
87 TF_EXPECT_OK(test_reporter.Close()); in TEST()
88 TF_EXPECT_OK(test_reporter.Benchmark(1, 1.0, 2.0, 3.0)); // No-op, closed in TEST()
89 TF_EXPECT_OK(test_reporter.Close()); // No-op, closed in TEST()
98 TF_EXPECT_OK(test_reporter.Initialize()); in TEST()
[all …]
Devents_writer_test.cc115 TF_EXPECT_OK(writer.Flush()); in TEST()
124 TF_EXPECT_OK(writer.Close()); in TEST()
143 TF_EXPECT_OK(env()->FileExists(filename)); in TEST()
155 TF_EXPECT_OK(env()->FileExists(filename)); in TEST()
165 TF_EXPECT_OK(writer.Init()); in TEST()
167 TF_EXPECT_OK(env()->FileExists(filename0)); in TEST()
169 TF_EXPECT_OK(writer.Close()); in TEST()
179 TF_EXPECT_OK(env()->FileExists(filename)); in TEST()
181 TF_EXPECT_OK(writer.Close()); in TEST()
189 TF_EXPECT_OK(writer.Close()); in TEST()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dsave_v2_op_test.cc126 TF_EXPECT_OK(reader.status()); in TEST_F()
132 TF_EXPECT_OK(reader.LookupTensorShape("tensor_bool", &shape)); in TEST_F()
138 TF_EXPECT_OK(reader.Lookup("tensor_bool", &val)); in TEST_F()
148 TF_EXPECT_OK(reader.LookupTensorShape("tensor_int", &shape)); in TEST_F()
154 TF_EXPECT_OK(reader.Lookup("tensor_int", &val)); in TEST_F()
164 TF_EXPECT_OK(reader.LookupTensorShape("tensor_float", &shape)); in TEST_F()
170 TF_EXPECT_OK(reader.Lookup("tensor_float", &val)); in TEST_F()
180 TF_EXPECT_OK(reader.LookupTensorShape("tensor_double", &shape)); in TEST_F()
186 TF_EXPECT_OK(reader.Lookup("tensor_double", &val)); in TEST_F()
196 TF_EXPECT_OK(reader.LookupTensorShape("tensor_qint8", &shape)); in TEST_F()
[all …]
Dfake_quant_ops_test.cc57 TF_EXPECT_OK(NodeDefBuilder("op", "FakeQuantWithMinMaxArgs") in RunTestFakeQuantWithMinMaxArgs()
64 TF_EXPECT_OK(InitOp()); in RunTestFakeQuantWithMinMaxArgs()
82 TF_EXPECT_OK(NodeDefBuilder("op", "FakeQuantWithMinMaxVars") in RunTestFakeQuantWithMinMaxVars()
89 TF_EXPECT_OK(InitOp()); in RunTestFakeQuantWithMinMaxVars()
112 TF_EXPECT_OK(NodeDefBuilder("op", "FakeQuantWithMinMaxVarsPerChannel") in RunTestFakeQuantWithMinMaxVarsPerChannel()
119 TF_EXPECT_OK(InitOp()); in RunTestFakeQuantWithMinMaxVarsPerChannel()
361 TF_EXPECT_OK(NodeDefBuilder("op", "FakeQuantWithMinMaxArgsGradient") in TEST_F()
368 TF_EXPECT_OK(InitOp()); in TEST_F()
391 TF_EXPECT_OK(NodeDefBuilder("op", "FakeQuantWithMinMaxArgsGradient") in TEST_F()
398 TF_EXPECT_OK(InitOp()); in TEST_F()
[all …]
Dadjust_contrast_op_test.cc35 TF_EXPECT_OK(NodeDefBuilder("adjust_contrast_op", "AdjustContrastv2") in TEST_F()
39 TF_EXPECT_OK(InitOp()); in TEST_F()
50 TF_EXPECT_OK(NodeDefBuilder("adjust_contrast_op", "AdjustContrastv2") in TEST_F()
54 TF_EXPECT_OK(InitOp()); in TEST_F()
67 TF_EXPECT_OK(NodeDefBuilder("adjust_contrast_op", "AdjustContrastv2") in TEST_F()
71 TF_EXPECT_OK(InitOp()); in TEST_F()
/external/tensorflow/tensorflow/cc/training/
Dqueue_runner_test.cc79 TF_EXPECT_OK(root.ToGraphDef(&graph_def)); in BuildSimpleGraph()
119 TF_EXPECT_OK(QueueRunner::New(queue_runner_def, &qr)); in TEST()
121 TF_EXPECT_OK(qr->Join()); in TEST()
124 TF_EXPECT_OK(session->Run({}, {kSquareOpName}, {}, &outputs)); in TEST()
139 TF_EXPECT_OK(QueueRunner::New(queue_runner_def, &qr)); in TEST()
140 TF_EXPECT_OK(qr->Start(session.get())); in TEST()
141 TF_EXPECT_OK(qr->Join()); in TEST()
144 TF_EXPECT_OK(session->Run({}, {kSquareOpName}, {}, &outputs)); in TEST()
158 TF_EXPECT_OK(QueueRunner::New(queue_runner_def, &qr)); in TEST()
159 TF_EXPECT_OK(qr->Start(session.get())); in TEST()
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/
Dsession_mgr_test.cc71 TF_EXPECT_OK(mgr_.CreateSession(session_handle, server_def, true)); in TEST_F()
73 TF_EXPECT_OK(mgr_.WorkerSessionForSession(session_handle, &session)); in TEST_F()
76 TF_EXPECT_OK(mgr_.DeleteSession(session_handle)); in TEST_F()
88 TF_EXPECT_OK(mgr_.CreateSession(session_handle, server_def, true)); in TEST_F()
90 TF_EXPECT_OK(mgr_.WorkerSessionForSession(session_handle, &session)); in TEST_F()
93 TF_EXPECT_OK(mgr_.DeleteSession(session_handle)); in TEST_F()
99 TF_EXPECT_OK(mgr_.CreateSession(session_handle, server_def, true)); in TEST_F()
101 TF_EXPECT_OK(mgr_.WorkerSessionForSession(session_handle, &session)); in TEST_F()
104 TF_EXPECT_OK(mgr_.DeleteSession(session_handle)); in TEST_F()
112 TF_EXPECT_OK(mgr_.CreateSession("handle_1", server_def, false)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dplacer_test.cc324 TF_EXPECT_OK(BuildGraph(b, &g)); in TEST_F()
327 TF_EXPECT_OK(Place(&g)); in TEST_F()
345 TF_EXPECT_OK(BuildGraph(b, &g)); in TEST_F()
348 TF_EXPECT_OK(Place(&g)); in TEST_F()
362 TF_EXPECT_OK(BuildGraph(b, &g)); in TEST_F()
365 TF_EXPECT_OK(Place(&g)); in TEST_F()
383 TF_EXPECT_OK(BuildGraph(b, &g)); in TEST_F()
386 TF_EXPECT_OK(Place(&g)); in TEST_F()
438 TF_EXPECT_OK(BuildGraph(b, &g)); in TEST_F()
440 TF_EXPECT_OK(Place(&g)); in TEST_F()
[all …]
Dmemory_types_test.cc32 TF_EXPECT_OK(ValidateMemoryTypes(DEVICE_CPU, g)); in TEST()
35 TF_EXPECT_OK(ValidateMemoryTypes(DEVICE_GPU, g)); in TEST()
38 TF_EXPECT_OK(ValidateMemoryTypes(DEVICE_SYCL, g)); in TEST()
49 TF_EXPECT_OK(ValidateMemoryTypes(DEVICE_CPU, g)); in TEST()
56 TF_EXPECT_OK(EnsureMemoryTypes(DEVICE_GPU, "/device:GPU:0", g)); in TEST()
57 TF_EXPECT_OK(ValidateMemoryTypes(DEVICE_GPU, g)); in TEST()
65 TF_EXPECT_OK(EnsureMemoryTypes(DEVICE_SYCL, "/device:SYCL:0", g)); in TEST()
66 TF_EXPECT_OK(ValidateMemoryTypes(DEVICE_SYCL, g)); in TEST()
80 TF_EXPECT_OK(MemoryTypeForOutput(DEVICE_CPU, g, sf, 0, &memory_type)); in TEST()
85 TF_EXPECT_OK(MemoryTypeForOutput(DEVICE_GPU, g, si, 0, &memory_type)); in TEST()
[all …]
/external/tensorflow/tensorflow/core/platform/
Dfile_system_test.cc182 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "Planet0"))); in TEST()
183 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "Planet1"))); in TEST()
190 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "match-00"))); in TEST()
191 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "match-0a"))); in TEST()
192 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "match-01"))); in TEST()
193 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "match-aaa"))); in TEST()
206 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "abcd"))); in TEST()
207 TF_EXPECT_OK(ipfs.CreateDir(io::JoinPath(kPrefix, "evil_directory"))); in TEST()
214 TF_EXPECT_OK( in TEST()
216 TF_EXPECT_OK( in TEST()
[all …]
Denv_test.cc75 TF_EXPECT_OK(env_->NewRandomAccessFile(filename, &f)); in TEST_F()
84 TF_EXPECT_OK(f->Read(0, 2, &result, scratch)); in TEST_F()
98 TF_EXPECT_OK(ReadFileToString(env_, filename, &output)); in TEST_F()
104 TF_EXPECT_OK(env_->Stat(filename, &stat)); in TEST_F()
115 TF_EXPECT_OK(WriteBinaryProto(env_, filename, proto)); in TEST_F()
119 TF_EXPECT_OK(ReadBinaryProto(env_, filename, &result)); in TEST_F()
130 TF_EXPECT_OK(WriteStringToFile(env_, filename, as_text)); in TEST_F()
134 TF_EXPECT_OK(ReadTextProto(env_, filename, &result)); in TEST_F()
149 TF_EXPECT_OK(env_->NewReadOnlyMemoryRegionFromFile(filename, &region)); in TEST_F()
155 TF_EXPECT_OK(env_->Stat(filename, &stat)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/grappler/utils/
Dcolocation_test.cc48 TF_EXPECT_OK(status); in TEST()
77 TF_EXPECT_OK(status); in TEST()
80 TF_EXPECT_OK(status); in TEST()
83 TF_EXPECT_OK(status); in TEST()
86 TF_EXPECT_OK(status); in TEST()
89 TF_EXPECT_OK(status); in TEST()
139 TF_EXPECT_OK(status); in TEST()
142 TF_EXPECT_OK(status); in TEST()
145 TF_EXPECT_OK(status); in TEST()
148 TF_EXPECT_OK(status); in TEST()
[all …]
Dfunctions_test.cc83 TF_EXPECT_OK(InstantiationTypeParameters( in TEST_F()
92 TF_EXPECT_OK(InstantiationBodyParameters( in TEST_F()
112 TF_EXPECT_OK(connectivity.ExpandFunctionDefInput("inputA", &inputs)); in TEST_F()
117 TF_EXPECT_OK(connectivity.ExpandFunctionDefInput("inputB", &inputs)); in TEST_F()
123 TF_EXPECT_OK(connectivity.ExpandFunctionDefInput("inputB:1", &inputs)); in TEST_F()
128 TF_EXPECT_OK(connectivity.ExpandFunctionDefInput("Add:z", &inputs)); in TEST_F()
133 TF_EXPECT_OK(connectivity.ExpandFunctionDefInput("Func:o1", &inputs)); in TEST_F()
139 TF_EXPECT_OK(connectivity.ExpandFunctionDefInput("Func:o2", &inputs)); in TEST_F()
145 TF_EXPECT_OK(connectivity.ExpandFunctionDefInput("Func:o1:0", &inputs)); in TEST_F()
150 TF_EXPECT_OK(connectivity.ExpandFunctionDefInput("Func:o1:1", &inputs)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/contrib/cloud/kernels/
Dbigquery_table_accessor_test.cc132 TF_EXPECT_OK(CreateTableAccessor(kTestProject, kTestDataset, kTestTable, 1, 3,
200 TF_EXPECT_OK(CreateTableAccessor(kTestProject, kTestDataset, kTestTable, 1, 1, in TEST_F()
204 TF_EXPECT_OK(accessor_->ReadRow(&row_id, &example)); in TEST_F()
230 TF_EXPECT_OK(CreateTableAccessor(kTestProject, kTestDataset, kTestTable, 1, 1, in TEST_F()
235 TF_EXPECT_OK(accessor_->ReadRow(&row_id, &example)); in TEST_F()
261 TF_EXPECT_OK(CreateTableAccessor(kTestProject, kTestDataset, kTestTable, 1, 1, in TEST_F()
265 TF_EXPECT_OK(accessor_->ReadRow(&row_id, &example)); in TEST_F()
291 TF_EXPECT_OK(CreateTableAccessor( in TEST_F()
297 TF_EXPECT_OK(accessor_->ReadRow(&row_id, &example)); in TEST_F()
323 TF_EXPECT_OK(CreateTableAccessor(kTestProject, kTestDataset, kTestTable, 1, 1, in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dop_def_util_test.cc48 TF_EXPECT_OK(status); in TestBuilder()
67 TF_EXPECT_OK(TestBuilder(OpDefBuilder("X").Attr("a: int"))); in TEST_F()
68 TF_EXPECT_OK(TestBuilder(OpDefBuilder("X").Input("a: int32"))); in TEST_F()
69 TF_EXPECT_OK(TestBuilder(OpDefBuilder("X").Output("a: bool"))); in TEST_F()
70 TF_EXPECT_OK(TestBuilder(OpDefBuilder("X").Attr("t: type").Input("a: t"))); in TEST_F()
71 TF_EXPECT_OK(TestBuilder(OpDefBuilder("X").Attr("a: int = 3"))); in TEST_F()
72 TF_EXPECT_OK(TestBuilder(OpDefBuilder("X").Attr("a: int >= -5"))); in TEST_F()
73 TF_EXPECT_OK(TestBuilder(OpDefBuilder("X").Attr("a: int >= -5"))); in TEST_F()
74 TF_EXPECT_OK(TestBuilder(OpDefBuilder("X").Attr("a: int >= -5 = 3"))); in TEST_F()
75 TF_EXPECT_OK(TestBuilder(OpDefBuilder("X").Attr("a: numbertype"))); in TEST_F()
[all …]
/external/tensorflow/tensorflow/cc/client/
Dclient_session_test.cc40 TF_EXPECT_OK(session.Run({c}, &outputs)); in TEST()
52 TF_EXPECT_OK(session.Run({{a, 1}, {b, 41}}, {c}, &outputs)); in TEST()
63 TF_EXPECT_OK(session.Run({{a, {1, 1}}}, {c}, &outputs)); in TEST()
68 TF_EXPECT_OK(session.Run({{a, {-10, 1}}}, {d}, &outputs)); in TEST()
81 TF_EXPECT_OK(session.Run({a}, &outputs)); in TEST()
87 TF_EXPECT_OK(session.Run({b}, &outputs)); in TEST()
94 TF_EXPECT_OK(session.Run({c}, &outputs)); in TEST()
112 TF_EXPECT_OK(session.RunCallable( in TEST()
116 TF_EXPECT_OK(session.ReleaseCallable(callable)); in TEST()
/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view_test.cc163 TF_EXPECT_OK(graph.AddSubgraph(std::move(subgraph))); in TEST()
179 TF_EXPECT_OK(graph.AddSubgraph(std::move(subgraph))); in TEST()
191 TF_EXPECT_OK(graph.AddSubgraph(std::move(subgraph))); in TEST()
225 TF_EXPECT_OK( in TEST()
251 TF_EXPECT_OK(graph.UpdateNode("bar_2", "NotImportant", kDevice, {})); in TEST()
273 TF_EXPECT_OK(graph.UpdateNode("foo", "Switch", kDevice, {})); in TEST()
434 TF_EXPECT_OK(graph.UpdateNodeName("b", "f", /*update_fanouts=*/true)); in TEST()
463 TF_EXPECT_OK(graph.SwapNodeNames("foo_1", "foo_2", update_fanouts)); in TestSwapNodeNames()
491 TF_EXPECT_OK(graph.SwapNodeNames("identity_1", "identity_1", update_fanouts)); in TestSwapNodeNamesWithSameNames()
520 TF_EXPECT_OK( in TEST()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_graph_test.cc109 TF_EXPECT_OK( in TestConstantFolding()
148 TF_EXPECT_OK(ParseTransformParameters("foo", &params_list)); in TestParseTransformParameters()
153 TF_EXPECT_OK(ParseTransformParameters("foo bar", &params_list)); in TestParseTransformParameters()
160 TF_EXPECT_OK(ParseTransformParameters("foo() bar()", &params_list)); in TestParseTransformParameters()
167 TF_EXPECT_OK( in TestParseTransformParameters()
175 TF_EXPECT_OK(ParseTransformParameters("bar(a=1, b=2, a=3)", &params_list)); in TestParseTransformParameters()
186 TF_EXPECT_OK(ParseTransformParameters("bar(a=\"1\", b=\"1,2,3\", a=3)", in TestParseTransformParameters()
213 TF_EXPECT_OK(ParseTransformParameters(" foo bar \\\n", &params_list)); in TestParseExtraSpaces()
223 TF_EXPECT_OK( in TestShouldIgnoreErrors()
227 TF_EXPECT_OK( in TestShouldIgnoreErrors()
[all …]

123456789