Searched refs:result_or (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/compiler/xrt/ |
D | xrt_memory_manager.h | 167 auto result_or = runfn(); in Run() local 168 if (result_or.status().code() != error::RESOURCE_EXHAUSTED) { in Run() 169 return result_or; in Run() 171 TF_RETURN_IF_ERROR(TryFreeMemoryStep(&mrctx, result_or.status())); in Run()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | tf2xla_test.cc | 90 auto result_or = in TEST() local 92 TF_EXPECT_OK(result_or.status()); in TEST() 93 xla::Literal result = std::move(result_or.ValueOrDie()); in TEST()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_evaluator.cc | 310 auto result_or = Evaluate(instruction); in TryEvaluate() local 311 if (!result_or.ok()) { in TryEvaluate() 312 VLOG(1) << "TryEvaluate failed:" << result_or.status(); in TryEvaluate() 316 *result = result_or.ConsumeValueOrDie(); in TryEvaluate() 545 auto result_or = ElementWiseUnaryOpImpl<bool, Eigen::half>( in HandleIsFinite() local 551 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite() 555 auto result_or = ElementWiseUnaryOpImpl<bool, bfloat16>( in HandleIsFinite() local 561 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite() 565 auto result_or = ElementWiseUnaryOpImpl<bool, float>( in HandleIsFinite() local 569 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | gpu_conv_algorithm_picker.cc | 319 StatusOr<AutotuneResult> result_or(InternalError("Unknown platform.")); in PickBestAlgorithm() local 324 result_or = PickBestAlgorithmNoCacheRocm(instr, allocator, stream); in PickBestAlgorithm() 326 result_or = PickBestAlgorithmNoCacheCuda(instr, allocator, stream); in PickBestAlgorithm() 329 if (result_or.ok()) { in PickBestAlgorithm() 331 CHECK(autotune_cache.insert({key, result_or.ValueOrDie()}).second); in PickBestAlgorithm() 333 return result_or; in PickBestAlgorithm()
|