Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.cc298 auto result_or = Evaluate(instruction); in TryEvaluate() local
299 if (!result_or.ok()) { in TryEvaluate()
300 VLOG(1) << "TryEvaluate failed:" << result_or.status(); in TryEvaluate()
304 *result = result_or.ConsumeValueOrDie(); in TryEvaluate()
520 auto result_or = ElementWiseUnaryOpImpl<bool, Eigen::half>( in HandleIsFinite() local
526 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite()
530 auto result_or = ElementWiseUnaryOpImpl<bool, bfloat16>( in HandleIsFinite() local
536 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite()
540 auto result_or = ElementWiseUnaryOpImpl<bool, float>( in HandleIsFinite() local
544 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite()
[all …]
/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()