Home
last modified time | relevance | path

Searched refs:result_or (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_memory_manager.h167 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/
Dtf2xla_test.cc90 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/
Dhlo_evaluator.cc310 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/
Dgpu_conv_algorithm_picker.cc319 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()