/external/tensorflow/tensorflow/compiler/xla/service/ |
D | shape_inference_test.cc | 1704 StatusOr<Shape> statusor = in TEST_F() local 1706 ASSERT_FALSE(statusor.ok()); in TEST_F() 1708 LOG(INFO) << statusor.status(); in TEST_F() 1710 EXPECT_THAT(statusor.status().error_message(), in TEST_F() 1712 << statusor.status(); in TEST_F() 1713 EXPECT_THAT(statusor.status().error_message(), HasSubstr("argument shape")) in TEST_F() 1714 << statusor.status(); in TEST_F() 1720 StatusOr<Shape> statusor = in TEST_F() local 1722 EXPECT_FALSE(statusor.ok()); in TEST_F() 1723 EXPECT_THAT(statusor.status().error_message(), in TEST_F() [all …]
|
D | BUILD | 195 "//tensorflow/compiler/xla:statusor", 269 "//tensorflow/compiler/xla:statusor", 300 "//tensorflow/compiler/xla:statusor", 362 "//tensorflow/compiler/xla:statusor", 607 "//tensorflow/compiler/xla:statusor", 621 "//tensorflow/compiler/xla:statusor", 677 "//tensorflow/compiler/xla:statusor", 698 "//tensorflow/compiler/xla:statusor", 745 "//tensorflow/compiler/xla:statusor", 781 "//tensorflow/compiler/xla:statusor", [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | status_macros.h | 195 #define TF_ASSERT_OK_AND_ASSIGN_IMPL(statusor, lhs, rexpr) \ argument 196 auto statusor = (rexpr); \ 197 ASSERT_TRUE(statusor.status().ok()) << statusor.status(); \ 198 lhs = std::move(statusor.ValueOrDie()) 207 #define TF_ASSIGN_OR_RETURN_IMPL(statusor, lhs, rexpr) \ argument 208 auto statusor = (rexpr); \ 209 if (TF_PREDICT_FALSE(!statusor.ok())) { \ 210 return statusor.status(); \ 212 lhs = std::move(statusor.ValueOrDie())
|
D | BUILD | 70 ":statusor", 132 ":statusor", 145 ":statusor", 164 name = "statusor", 166 "statusor.h", 188 ":statusor", 209 ":statusor", 262 ":statusor", 590 ":statusor", 606 ":statusor", [all …]
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | xla_data.i | 255 StatusOr<OpMetadata> statusor = numpy::OpMetadataFromPyObject($input); 256 if (!statusor.ok()) { 257 PyErr_SetString(PyExc_RuntimeError, statusor.status().ToString().c_str()); 260 temp = std::move(statusor).ValueOrDie(); 292 StatusOr<Shape> statusor = numpy::XlaShapeFromPyShape($input); 293 if (!statusor.ok()) { 294 PyErr_SetString(PyExc_RuntimeError, statusor.status().ToString().c_str()); 297 temp = std::move(statusor).ValueOrDie(); 307 StatusOr<Shape> statusor = numpy::XlaShapeFromPyShape($input); 308 if (!statusor.ok()) { [all …]
|
D | local_computation_builder.i | 235 StatusOr<Shape> statusor = numpy::XlaShapeFromPyShape(o); 236 if (!statusor.ok()) { 237 …ldOptions.result_shape could not be created from Python shape value: ", statusor.status().ToString… 241 build_options.set_result_layout(statusor.ValueOrDie());
|
/external/tensorflow/tensorflow/compiler/xla/tools/ |
D | hlo_proto_to_json.cc | 65 auto statusor = ToJson(hlo_proto); in RealMain() local 66 QCHECK(statusor.ok()) << "Error converting " << input << " to JSON." in RealMain() 67 << statusor.status(); in RealMain() 70 statusor.ValueOrDie())); in RealMain()
|
D | BUILD | 37 "//tensorflow/compiler/xla:statusor", 59 "//tensorflow/compiler/xla:statusor", 119 "//tensorflow/compiler/xla:statusor", 131 "//tensorflow/compiler/xla:statusor", 143 "//tensorflow/compiler/xla:statusor", 162 "//tensorflow/compiler/xla:statusor", 184 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/tf2xla/lib/ |
D | BUILD | 25 "//tensorflow/compiler/xla:statusor", 41 "//tensorflow/compiler/xla:statusor", 58 "//tensorflow/compiler/xla:statusor", 77 "//tensorflow/compiler/xla:statusor", 91 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | xla_builder_test.cc | 173 auto statusor = b.Build(); in TEST_F() local 174 ASSERT_FALSE(statusor.ok()); in TEST_F() 176 statusor.status().error_message(), in TEST_F() 219 auto statusor = BuildHloModule(&b); in TEST_F() local 220 ASSERT_FALSE(statusor.ok()); in TEST_F() 221 EXPECT_THAT(statusor.status().error_message(), HasSubstr("shape inference")); in TEST_F() 232 auto statusor = BuildHloModule(&b); in TEST_F() local 233 ASSERT_FALSE(statusor.ok()); in TEST_F() 234 EXPECT_THAT(statusor.status().error_message(), in TEST_F() 328 auto statusor = builder.Build(); in TEST_F() local [all …]
|
D | BUILD | 46 "//tensorflow/compiler/xla:statusor", 76 "//tensorflow/compiler/xla:statusor", 116 "//tensorflow/compiler/xla:statusor", 143 "//tensorflow/compiler/xla:statusor", 163 "//tensorflow/compiler/xla:statusor", 222 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | BUILD | 132 "//tensorflow/compiler/xla:statusor", 181 "//tensorflow/compiler/xla:statusor", 201 "//tensorflow/compiler/xla:statusor", 265 "//tensorflow/compiler/xla:statusor", 282 "//tensorflow/compiler/xla:statusor", 384 "//tensorflow/compiler/xla:statusor", 413 "//tensorflow/compiler/xla:statusor", 438 "//tensorflow/compiler/xla:statusor", 464 "//tensorflow/compiler/xla:statusor", 491 "//tensorflow/compiler/xla:statusor",
|
D | constants_test.cc | 40 auto statusor = builder.Build(); in XLA_TEST_F() local 41 ASSERT_FALSE(statusor.ok()); in XLA_TEST_F() 42 EXPECT_THAT(statusor.status().error_message(), HasSubstr("Invalid cast")); in XLA_TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | BUILD | 121 "//tensorflow/compiler/xla:statusor", 181 "//tensorflow/compiler/xla:statusor", 239 "//tensorflow/compiler/xla:statusor", 254 "//tensorflow/compiler/xla:statusor", 281 "//tensorflow/compiler/xla:statusor", 373 "//tensorflow/compiler/xla:statusor", 392 "//tensorflow/compiler/xla:statusor", 411 "//tensorflow/compiler/xla:statusor", 475 "//tensorflow/compiler/xla:statusor", 506 "//tensorflow/compiler/xla:statusor", [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | BUILD | 93 "//tensorflow/compiler/xla:statusor", 131 "//tensorflow/compiler/xla:statusor", 148 "//tensorflow/compiler/xla:statusor", 168 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/xrt/kernels/ |
D | BUILD | 19 "//tensorflow/compiler/xla:statusor", 46 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | BUILD | 43 "//tensorflow/compiler/xla:statusor", 105 "//tensorflow/compiler/xla:statusor", 234 "//tensorflow/compiler/xla:statusor", 279 "//tensorflow/compiler/xla:statusor", 347 "//tensorflow/compiler/xla:statusor", 426 "//tensorflow/compiler/xla:statusor", 446 "//tensorflow/compiler/xla:statusor", 468 "//tensorflow/compiler/xla:statusor", 499 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | BUILD | 173 "//tensorflow/compiler/xla:statusor", 235 "//tensorflow/compiler/xla:statusor", 263 "//tensorflow/compiler/xla:statusor", 386 "//tensorflow/compiler/xla:statusor", 492 "//tensorflow/compiler/xla:statusor", 542 "//tensorflow/compiler/xla:statusor", 790 "//tensorflow/compiler/xla:statusor", 834 "//tensorflow/compiler/xla:statusor", 982 "//tensorflow/compiler/xla:statusor", 1047 "//tensorflow/compiler/xla:statusor", [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/ |
D | BUILD | 33 "//tensorflow/compiler/xla:statusor", 83 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | BUILD | 156 "//tensorflow/compiler/xla:statusor", 211 "//tensorflow/compiler/xla:statusor", 255 "//tensorflow/compiler/xla:statusor", 349 "//tensorflow/compiler/xla:statusor", 370 "//tensorflow/compiler/xla:statusor",
|
/external/tensorflow/tensorflow/compiler/jit/kernels/ |
D | BUILD | 23 "//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/aot/ |
D | BUILD | 44 "//tensorflow/compiler/xla:statusor", 197 "//tensorflow/compiler/xla:statusor",
|
/external/protobuf/cmake/ |
D | libprotobuf-lite.cmake | 18 ${protobuf_source_dir}/src/google/protobuf/stubs/statusor.cc
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | statusor_test.cc | 88 StatusOr<NoDefaultConstructor> statusor(tensorflow::errors::Cancelled("")); in TEST() local 89 EXPECT_FALSE(statusor.ok()); in TEST() 90 EXPECT_EQ(statusor.status().code(), tensorflow::error::CANCELLED); in TEST()
|