Home
last modified time | relevance | path

Searched refs:statusor (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/
Dstatus_macros.h191 #define TF_ASSERT_OK_AND_ASSIGN_IMPL(statusor, lhs, rexpr) \ argument
192 auto statusor = (rexpr); \
193 ASSERT_TRUE(statusor.status().ok()) << statusor.status(); \
194 lhs = std::move(statusor.ValueOrDie())
203 #define TF_ASSIGN_OR_RETURN_IMPL(statusor, lhs, rexpr) \ argument
204 auto statusor = (rexpr); \
205 if (TF_PREDICT_FALSE(!statusor.ok())) { \
206 return statusor.status(); \
208 lhs = std::move(statusor.ValueOrDie())
DBUILD112 ":statusor",
124 ":statusor",
143 name = "statusor",
144 srcs = ["statusor.cc"],
146 "statusor.h",
162 ":statusor",
184 ":statusor",
201 ":statusor",
247 ":statusor",
457 ":statusor",
[all …]
Dstatusor_test.cc80 StatusOr<NoDefaultConstructor> statusor(tensorflow::errors::Cancelled("")); in TEST() local
81 EXPECT_FALSE(statusor.ok()); in TEST()
82 EXPECT_EQ(statusor.status().code(), tensorflow::error::CANCELLED); in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/
Dshape_inference_test.cc1518 StatusOr<Shape> statusor = in TEST_F() local
1520 ASSERT_FALSE(statusor.ok()); in TEST_F()
1522 LOG(INFO) << statusor.status(); in TEST_F()
1524 EXPECT_THAT(statusor.status().error_message(), in TEST_F()
1526 << statusor.status(); in TEST_F()
1527 EXPECT_THAT(statusor.status().error_message(), HasSubstr("argument shape")) in TEST_F()
1528 << statusor.status(); in TEST_F()
1603 StatusOr<Shape> statusor = ShapeInference::InferGatherShape( in TEST_F() local
1609 ASSERT_FALSE(statusor.ok()); in TEST_F()
1610 EXPECT_THAT(statusor.status().error_message(), in TEST_F()
[all …]
DBUILD129 "//tensorflow/compiler/xla:statusor",
174 "//tensorflow/compiler/xla:statusor",
194 "//tensorflow/compiler/xla:statusor",
241 "//tensorflow/compiler/xla:statusor",
380 "//tensorflow/compiler/xla:statusor",
393 "//tensorflow/compiler/xla:statusor",
452 "//tensorflow/compiler/xla:statusor",
486 "//tensorflow/compiler/xla:statusor",
506 "//tensorflow/compiler/xla:statusor",
549 "//tensorflow/compiler/xla:statusor",
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dlocal_computation_builder.i355 StatusOr<OpMetadata> statusor = numpy::OpMetadataFromPyObject($input);
356 if (!statusor.ok()) {
357 PyErr_SetString(PyExc_RuntimeError, statusor.status().ToString().c_str());
360 temp = std::move(statusor).ValueOrDie();
367 StatusOr<Shape> statusor = numpy::XlaShapeFromPyShape($input);
368 if (!statusor.ok()) {
369 PyErr_SetString(PyExc_RuntimeError, statusor.status().ToString().c_str());
372 temp = std::move(statusor).ValueOrDie();
382 StatusOr<Shape> statusor = numpy::XlaShapeFromPyShape($input);
383 if (!statusor.ok()) {
[all …]
Dlocal_computation_builder.cc220 const auto& statusor = results[replica]; in Execute() local
221 if (!statusor.ok()) { in Execute()
225 replica, statusor.status().ToString().c_str()); in Execute()
/external/tensorflow/tensorflow/compiler/xla/tools/
DBUILD34 "//tensorflow/compiler/xla:statusor",
61 "//tensorflow/compiler/xla:statusor",
81 "//tensorflow/compiler/xla:statusor",
137 "//tensorflow/compiler/xla:statusor",
149 "//tensorflow/compiler/xla:statusor",
161 "//tensorflow/compiler/xla:statusor",
180 "//tensorflow/compiler/xla:statusor",
199 "//tensorflow/compiler/xla:statusor",
218 "//tensorflow/compiler/xla:statusor",
Dhlo_proto_to_json.cc63 auto statusor = ToJson(hlo_proto); in RealMain() local
64 QCHECK(statusor.ok()) << "Error converting " << input << " to JSON." in RealMain()
65 << statusor.status(); in RealMain()
68 statusor.ValueOrDie())); in RealMain()
/external/tensorflow/tensorflow/compiler/tf2xla/lib/
DBUILD27 "//tensorflow/compiler/xla:statusor",
45 "//tensorflow/compiler/xla:statusor",
62 "//tensorflow/compiler/xla:statusor",
81 "//tensorflow/compiler/xla:statusor",
98 "//tensorflow/compiler/xla:statusor",
121 "//tensorflow/compiler/xla:statusor",
137 "//tensorflow/compiler/xla:statusor",
/external/tensorflow/tensorflow/compiler/xla/client/
DBUILD44 "//tensorflow/compiler/xla:statusor",
72 "//tensorflow/compiler/xla:statusor",
105 "//tensorflow/compiler/xla:statusor",
129 "//tensorflow/compiler/xla:statusor",
149 "//tensorflow/compiler/xla:statusor",
169 "//tensorflow/compiler/xla:statusor",
194 "//tensorflow/compiler/xla:statusor",
/external/tensorflow/tensorflow/compiler/xla/tests/
DBUILD111 "//tensorflow/compiler/xla:statusor",
182 "//tensorflow/compiler/xla:statusor",
235 "//tensorflow/compiler/xla:statusor",
250 "//tensorflow/compiler/xla:statusor",
275 "//tensorflow/compiler/xla:statusor",
296 "//tensorflow/compiler/xla:statusor",
314 "//tensorflow/compiler/xla:statusor",
332 "//tensorflow/compiler/xla:statusor",
387 "//tensorflow/compiler/xla:statusor",
416 "//tensorflow/compiler/xla:statusor",
[all …]
/external/tensorflow/tensorflow/compiler/xla/tools/parser/
DBUILD36 "//tensorflow/compiler/xla:statusor",
53 "//tensorflow/compiler/xla:statusor",
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
DBUILD148 "//tensorflow/compiler/xla:statusor",
196 "//tensorflow/compiler/xla:statusor",
221 "//tensorflow/compiler/xla:statusor",
277 "//tensorflow/compiler/xla:statusor",
339 "//tensorflow/compiler/xla:statusor",
469 "//tensorflow/compiler/xla:statusor",
505 "//tensorflow/compiler/xla:statusor",
610 "//tensorflow/compiler/xla:statusor",
644 "//tensorflow/compiler/xla:statusor",
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
DBUILD68 "//tensorflow/compiler/xla:statusor",
101 "//tensorflow/compiler/xla:statusor",
119 "//tensorflow/compiler/xla:statusor",
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
DBUILD39 "//tensorflow/compiler/xla:statusor",
99 "//tensorflow/compiler/xla:statusor",
194 "//tensorflow/compiler/xla:statusor",
225 "//tensorflow/compiler/xla:statusor",
265 "//tensorflow/compiler/xla:statusor",
314 "//tensorflow/compiler/xla:statusor",
370 "//tensorflow/compiler/xla:statusor",
389 "//tensorflow/compiler/xla:statusor",
410 "//tensorflow/compiler/xla:statusor",
440 "//tensorflow/compiler/xla:statusor",
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
DBUILD35 "//tensorflow/compiler/xla:statusor",
84 "//tensorflow/compiler/xla:statusor",
/external/tensorflow/tensorflow/compiler/tf2xla/
DBUILD109 "//tensorflow/compiler/xla:statusor",
157 "//tensorflow/compiler/xla:statusor",
276 "//tensorflow/compiler/xla:statusor",
296 "//tensorflow/compiler/xla:statusor",
/external/tensorflow/tensorflow/compiler/jit/kernels/
DBUILD19 "//tensorflow/compiler/xla:statusor",
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/
DBUILD30 "//tensorflow/compiler/xla:statusor",
/external/tensorflow/tensorflow/compiler/xla/client/lib/
DBUILD39 "//tensorflow/compiler/xla:statusor",
/external/tensorflow/tensorflow/compiler/aot/
DBUILD65 "//tensorflow/compiler/xla:statusor",
210 "//tensorflow/compiler/xla:statusor",
/external/protobuf/cmake/
Dlibprotobuf-lite.cmake18 ${protobuf_source_dir}/src/google/protobuf/stubs/statusor.cc
/external/protobuf/src/
DMakefile.am189 google/protobuf/stubs/statusor.cc \
190 google/protobuf/stubs/statusor.h \
/external/perfetto/buildtools/
DBUILD.gn151 "protobuf/src/google/protobuf/stubs/statusor.cc",

12