Home
last modified time | relevance | path

Searched refs:TF_PREDICT_TRUE (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/core/util/
Dbcast.cc25 if (sx == sy && TF_PREDICT_TRUE(fewer_dims_optimization)) { in BCast()
109 if (!TF_PREDICT_TRUE(fewer_dims_optimization)) { in BCast()
117 } else if (TF_PREDICT_TRUE(fewer_dims_optimization) && prev == curr) { in BCast()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/partitioners/
Dexample_partitioner.cc37 if (TF_PREDICT_TRUE(tree_config.nodes_size() > 0)) { in UpdatePartitions()
70 if (TF_PREDICT_TRUE(tree_config.nodes_size() > 0)) { in PartitionExamples()
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dlogging.h38 #define TF_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1)) macro
41 #define TF_PREDICT_TRUE(x) (x) macro
Dlogging.cc106 if (TF_PREDICT_TRUE(severity_ >= min_log_level)) GenerateLogMessage(); in ~LogMessage()
/external/tensorflow/tensorflow/core/platform/
Dmacros.h88 #define TF_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1)) macro
91 #define TF_PREDICT_TRUE(x) (x) macro
/external/tensorflow/tensorflow/python/lib/core/
Dpy_seq_tensor.cc293 if (TF_PREDICT_TRUE(PyInt_Check(v))) { in ConvertOneInt64()
298 if (TF_PREDICT_TRUE(PyLong_Check(v) || IsPyDimension(v))) { in ConvertOneInt64()
322 if (TF_PREDICT_TRUE(PyInt_Check(v))) { in ConvertOneInt32()
358 if (TF_PREDICT_TRUE(PyFloat_Check(v))) { in ConvertOneFloat()
489 if (TF_PREDICT_TRUE(_error == nullptr)) return Status::OK(); \
/external/tensorflow/tensorflow/core/kernels/
Dconditional_accumulator_base.h167 if (!TF_PREDICT_TRUE(EXP)) { \
176 if (!TF_PREDICT_TRUE(_s.ok())) { \
Dcheck_numerics_op.cc78 if (TF_PREDICT_TRUE(Eigen::numext::isfinite(y))) { in Compute()
Dsdca_ops.cc322 out_values(i, 0) = TF_PREDICT_TRUE(fprint.low64 >= 2) in Compute()
Dcwise_ops.h107 if (TF_PREDICT_TRUE(safe_b >= 0)) {
133 if (TF_PREDICT_TRUE(safe_b != 0)) {
Dconv_ops_fused_impl.h386 if (!TF_PREDICT_TRUE(EXP)) return (STATUS)
Dconv_ops.cc277 if (!TF_PREDICT_TRUE(EXP)) return (STATUS); \
/external/tensorflow/tensorflow/compiler/xla/
Dstatus_macros.cc43 if (TF_PREDICT_TRUE(log_severity != tensorflow::NUM_SEVERITIES)) { in LogError()
84 if (TF_PREDICT_TRUE(should_log)) { in MakeError()
Dstatus_macros.h172 explicit operator bool() const { return TF_PREDICT_TRUE(status_.ok()); }
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
Dmacros.h22 if (!TF_PREDICT_TRUE(EXP)) { \
/external/tensorflow/tensorflow/stream_executor/platform/
Dport.h50 #define SE_PREDICT_TRUE TF_PREDICT_TRUE
/external/tensorflow/tensorflow/core/framework/
Dbounds_check.h35 return TF_PREDICT_TRUE(static_cast<UIndex>(index) < in FastBoundsCheck()
Dop_kernel.h1717 if (!TF_PREDICT_TRUE(EXP)) { \
1727 if (!TF_PREDICT_TRUE(_s.ok())) { \
1736 if (!TF_PREDICT_TRUE(EXP)) { \
1746 if (!TF_PREDICT_TRUE(_s.ok())) { \
/external/tensorflow/tensorflow/core/platform/default/
Dlogging.h117 TF_PREDICT_TRUE(!VLOG_IS_ON(level)) \
230 if (TF_PREDICT_TRUE(v1 op v2)) \
Dlogging.cc236 if (TF_PREDICT_TRUE(vmodules == nullptr)) { in VmoduleActivated()
/external/tensorflow/tensorflow/core/kernels/data/
Dconcatenate_dataset_op.cc170 if (!TF_PREDICT_TRUE(i_ >= 0 && i_ <= 2)) in RestoreInternal()
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
Dtree_utils.h286 if (!TF_PREDICT_TRUE(tensor.shape().dim_size(i) < in CheckTensorBounds()
/external/tensorflow/tensorflow/core/lib/db/
Dsqlite.cc234 if (TF_PREDICT_TRUE(stmt_ != nullptr)) { in Reset()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/ops/
Daudio_microfrontend_op.cc234 if (!TF_PREDICT_TRUE( in Compute()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc50 if (!TF_PREDICT_TRUE(_s.ok())) { \

12