/external/tensorflow/tensorflow/compiler/xla/ |
D | status_macros.h | 191 #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())
|
D | BUILD | 112 ":statusor", 124 ":statusor", 143 name = "statusor", 144 srcs = ["statusor.cc"], 146 "statusor.h", 162 ":statusor", 184 ":statusor", 201 ":statusor", 247 ":statusor", 457 ":statusor", [all …]
|
D | statusor_test.cc | 80 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/ |
D | shape_inference_test.cc | 1518 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 …]
|
D | BUILD | 129 "//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/ |
D | local_computation_builder.i | 355 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 …]
|
D | local_computation_builder.cc | 220 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/ |
D | BUILD | 34 "//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",
|
D | hlo_proto_to_json.cc | 63 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/ |
D | BUILD | 27 "//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/ |
D | BUILD | 44 "//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/ |
D | BUILD | 111 "//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/ |
D | BUILD | 36 "//tensorflow/compiler/xla:statusor", 53 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | BUILD | 148 "//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/ |
D | BUILD | 68 "//tensorflow/compiler/xla:statusor", 101 "//tensorflow/compiler/xla:statusor", 119 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | BUILD | 39 "//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/ |
D | BUILD | 35 "//tensorflow/compiler/xla:statusor", 84 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | BUILD | 109 "//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/ |
D | BUILD | 19 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/ |
D | BUILD | 30 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | BUILD | 39 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/aot/ |
D | BUILD | 65 "//tensorflow/compiler/xla:statusor", 210 "//tensorflow/compiler/xla:statusor",
|
/external/protobuf/cmake/ |
D | libprotobuf-lite.cmake | 18 ${protobuf_source_dir}/src/google/protobuf/stubs/statusor.cc
|
/external/protobuf/src/ |
D | Makefile.am | 189 google/protobuf/stubs/statusor.cc \ 190 google/protobuf/stubs/statusor.h \
|
/external/perfetto/buildtools/ |
D | BUILD.gn | 151 "protobuf/src/google/protobuf/stubs/statusor.cc",
|