/external/tensorflow/tensorflow/python/lib/core/ |
D | py_seq_tensor.cc | 233 if (TF_PREDICT_FALSE(obj == nullptr)) { \ 240 if (TF_PREDICT_FALSE(seq == nullptr)) return ErrorRectangular; \ 241 if (TF_PREDICT_FALSE(s != PySequence_Fast_GET_SIZE(seq.get()))) { \ 249 if (TF_PREDICT_FALSE(error != nullptr)) return error; \ 253 if (TF_PREDICT_FALSE(seq == nullptr)) return ErrorRectangular; \ 255 if (TF_PREDICT_FALSE(s != PySequence_Fast_GET_SIZE(seq.get()))) { \ 263 if (TF_PREDICT_FALSE(error != nullptr)) return error; \ 302 if (TF_PREDICT_FALSE(overflow)) return ErrorOutOfRange; in ConvertOneInt64() 330 if (TF_PREDICT_FALSE(overflow)) return ErrorOutOfRange; in ConvertOneInt32() 345 if (TF_PREDICT_FALSE(i != *out)) return ErrorFoundInt64; in ConvertOneInt32()
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | logging.h | 37 #define TF_PREDICT_FALSE(x) (__builtin_expect(x, 0)) macro 40 #define TF_PREDICT_FALSE(x) (x) macro 95 if (TF_PREDICT_FALSE(VLOG_IS_ON(lvl))) \
|
/external/tensorflow/tensorflow/core/platform/ |
D | macros.h | 87 #define TF_PREDICT_FALSE(x) (__builtin_expect(x, 0)) macro 90 #define TF_PREDICT_FALSE(x) (x) macro
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | logging.h | 128 if (TF_PREDICT_FALSE(!(condition))) \ 180 operator bool() const { return TF_PREDICT_FALSE(str_ != NULL); } 240 if (TF_PREDICT_FALSE(v2 < 0)) { \ 247 if (TF_PREDICT_FALSE(v2 >= std::numeric_limits<int>::max())) { \
|
/external/tensorflow/tensorflow/python/util/ |
D | util.cc | 223 if (TF_PREDICT_FALSE(collections_mapping_type == nullptr)) { in IsMappingHelper() 260 if (TF_PREDICT_FALSE(indexed_slices_type == nullptr)) { in IsIndexedSlicesHelper() 280 if (TF_PREDICT_FALSE(tensor_type == nullptr)) { in IsTensorHelper() 309 if (TF_PREDICT_FALSE(collections_sequence_type == nullptr)) { in IsSequenceHelper() 500 if (TF_PREDICT_FALSE(sparse_tensor_value_type == nullptr)) { in IsSparseTensorValueType() 514 if (TF_PREDICT_FALSE(composite_tensor_type == nullptr)) { in IsCompositeTensorHelper() 853 if (TF_PREDICT_FALSE(collections_sequence_type == nullptr)) { in IsNamedtuple()
|
/external/tensorflow/tensorflow/core/lib/db/ |
D | sqlite.cc | 179 if (TF_PREDICT_FALSE(bind_error_ != SQLITE_OK)) { in Step() 210 if (TF_PREDICT_FALSE(is_done)) { in StepOnce() 224 if (TF_PREDICT_FALSE(s.ok() && !is_done)) { in StepAndReset()
|
D | sqlite.h | 357 if (TF_PREDICT_FALSE(rc != SQLITE_OK)) { in Update() 391 if (TF_PREDICT_FALSE(sqlite3_mutex_try(mutex_) != SQLITE_OK)) { in SqliteLock()
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | errors.h | 73 if (TF_PREDICT_FALSE(!_status.ok())) return _status; \ 79 if (TF_PREDICT_FALSE(!_status.ok())) { \
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | status_macros.cc | 79 if (TF_PREDICT_FALSE(code == tensorflow::error::OK)) { in MakeError() 153 if (TF_PREDICT_FALSE(str.empty())) { in GetStatus()
|
D | status_macros.h | 184 while (TF_PREDICT_FALSE(!(condition))) \ 209 if (TF_PREDICT_FALSE(!statusor.ok())) { \
|
D | overflow_util.h | 35 if (TF_PREDICT_FALSE((ux | uy) >> 32 != 0)) { in MultiplyWithoutOverflow()
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | base64.cc | 66 if (TF_PREDICT_FALSE((packed & 0xFF000000) != 0)) { in DecodeThreeChars() 119 if (TF_PREDICT_FALSE(remain == 1)) { in Base64Decode()
|
/external/tensorflow/tensorflow/core/util/ |
D | overflow.h | 35 if (TF_PREDICT_FALSE((ux | uy) >> 32 != 0)) { in MultiplyWithoutOverflow()
|
/external/tensorflow/tensorflow/stream_executor/platform/ |
D | port.h | 51 #define SE_PREDICT_FALSE TF_PREDICT_FALSE
|
/external/tensorflow/tensorflow/core/kernels/ |
D | sparse_xent_op.h | 77 return TF_PREDICT_FALSE(label == depth) in operator() 117 T subtract = TF_PREDICT_FALSE(depth == label) ? T(1.0) : T(0.0); in operator()
|
D | scatter_nd_op_cpu_impl.h | 123 if (TF_PREDICT_FALSE(out_of_bounds)) { 207 if (TF_PREDICT_FALSE(out_of_bounds)) {
|
D | gather_nd_op_cpu_impl.h | 74 if (TF_PREDICT_FALSE(out_of_bounds)) { in operator()
|
D | decode_proto_op.cc | 135 if (TF_PREDICT_FALSE(dtype != DT_STRING)) { in InitDefaultValue() 139 if (TF_PREDICT_FALSE(value == nullptr)) { in InitDefaultValue()
|
D | constant_op.cc | 86 if (TF_PREDICT_FALSE(ctx->track_allocations())) { in Compute()
|
/external/tensorflow/tensorflow/contrib/coder/kernels/ |
D | range_coder_ops_util.cc | 47 if (TF_PREDICT_FALSE( in MergeAxes()
|
D | range_coder_ops.cc | 120 if (TF_PREDICT_FALSE(cdf_shape.dims() != data_shape.dims() + 1)) { in CheckCdfShape() 126 if (TF_PREDICT_FALSE(cdf_shape.dim_size(cdf_shape.dims() - 1) <= 1)) { in CheckCdfShape()
|
/external/tensorflow/tensorflow/core/framework/ |
D | resource_op_kernel.h | 92 if (TF_PREDICT_FALSE(!s.ok())) { in Compute()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/trees/ |
D | decision_tree.cc | 28 if (TF_PREDICT_FALSE(config.nodes_size() <= sub_root_id)) { in Traverse()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/ |
D | training_ops.cc | 66 if (TF_PREDICT_FALSE(split->split_info.split_node().node_case() == in UpdateBestSplit() 97 if (TF_PREDICT_FALSE(split->gain == best_split.gain)) { in UpdateBestSplit() 539 if (TF_PREDICT_FALSE(gain == best_split.gain)) { in FindBestSplitOblivious()
|
/external/tensorflow/tensorflow/core/kernels/boosted_trees/ |
D | training_ops.cc | 218 if (TF_PREDICT_FALSE(best_split_it != best_split_per_node->end() && in FindBestSplitsPerNode()
|