Home
last modified time | relevance | path

Searched refs:pred_value (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dsmart_cond.py51 pred_value = smart_constant_value(pred)
52 if pred_value is not None:
53 if pred_value:
75 pred_value = tensor_util.constant_value(pred)
78 if pred_value is None:
79 pred_value = c_api.TF_TryEvaluateConstant_wrapper(pred.graph._c_graph,
83 pred_value = bool(pred)
85 pred_value = pred
90 return pred_value
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dtuple_ops.cc42 llvm::LoadInst* pred_value = in EmitTupleSelect() local
45 pred_value, in EmitTupleSelect()
50 VLOG(2) << " pred_value: " << DumpToString(*pred_value); in EmitTupleSelect()
/external/libaom/libaom/av1/encoder/
Dtemporal_filter.c414 const int pred_value = is_high_bitdepth ? pred16[idx] : pred[idx]; in av1_apply_temporal_filter_self() local
415 accum[idx] += filter_weight * pred_value; in av1_apply_temporal_filter_self()
613 const int pred_value = is_high_bitdepth ? pred16[idx] : pred[idx]; in av1_apply_temporal_filter_yuv_c() local
616 accum[idx] += adjusted_weight * pred_value; in av1_apply_temporal_filter_yuv_c()
758 const int pred_value = is_high_bitdepth ? pred16[idx] : pred[idx]; in av1_apply_temporal_filter_planewise_c() local
759 accum[idx] += adjusted_weight * pred_value; in av1_apply_temporal_filter_planewise_c()
/external/tensorflow/tensorflow/python/kernel_tests/
Dcond_v2_test.py370 def run_test(pred_value): argument
394 self._testCond(true_fn, false_fn, [x, y], {pred: pred_value})
395 self._testCond(true_fn, false_fn, [x], {pred: pred_value})
396 self._testCond(true_fn, false_fn, [y], {pred: pred_value})
403 def run_test(pred_value): argument
420 self._testCond(true_fn, false_fn, [x, y], {pred: pred_value})
421 self._testCond(true_fn, false_fn, [x], {pred: pred_value})
422 self._testCond(true_fn, false_fn, [y], {pred: pred_value})
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc2660 llvm::LoadInst* pred_value = Load( in HandleConditional() local
2663 ICmpNE(pred_value, in HandleConditional()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc1719 TF_ASSIGN_OR_RETURN(llvm::Value * pred_value, in EmitElementalSelect()
1725 return Select(Trunc(pred_value, b_->getInt1Ty()), on_true_value, in EmitElementalSelect()
/external/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c6510 uint64_t pred_value = 0; in radv_CmdBeginConditionalRenderingEXT() local
6550 radv_cmd_buffer_upload_data(cmd_buffer, 8, 16, &pred_value, &pred_offset); in radv_CmdBeginConditionalRenderingEXT()