Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_test.cc88 auto result_or = in TEST() local
90 TF_EXPECT_OK(result_or.status()); in TEST()
91 std::unique_ptr<xla::Literal> result = std::move(result_or.ValueOrDie()); in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.cc2159 auto result_or = Evaluate(instruction); in TryEvaluate() local
2160 if (!result_or.ok()) { in TryEvaluate()
2161 VLOG(1) << "TryEvaluate failed:" << result_or.status(); in TryEvaluate()
2165 return result_or.ConsumeValueOrDie(); in TryEvaluate()
2285 auto result_or = ElementWiseUnaryOpImpl<bool, float>( in HandleIsFinite() local
2289 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite()
2293 auto result_or = ElementWiseUnaryOpImpl<bool, double>( in HandleIsFinite() local
2297 TF_ASSIGN_OR_RETURN(evaluated_[is_finite], std::move(result_or)); in HandleIsFinite()