Home
last modified time | relevance | path

Searched refs:new_h (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/image/
Dadjust_hsv_gpu.cu.h75 const float new_h = h * 6.0f; in hsv2rgb_cuda() local
77 const float x = chroma * (1.0f - fabsf(fmodf(new_h, 2.0f) - 1.0f)); in hsv2rgb_cuda()
79 const bool between_0_and_1 = new_h >= 0.0f && new_h < 1.0f; in hsv2rgb_cuda()
80 const bool between_1_and_2 = new_h >= 1.0f && new_h < 2.0f; in hsv2rgb_cuda()
81 const bool between_2_and_3 = new_h >= 2.0f && new_h < 3.0f; in hsv2rgb_cuda()
82 const bool between_3_and_4 = new_h >= 3.0f && new_h < 4.0f; in hsv2rgb_cuda()
83 const bool between_4_and_5 = new_h >= 4.0f && new_h < 5.0f; in hsv2rgb_cuda()
84 const bool between_5_and_6 = new_h >= 5.0f && new_h < 6.0f; in hsv2rgb_cuda()
113 float new_h = hsv.h; in adjust_hsv_nhwc() local
119 new_h = fmodf(hsv.h + delta, 1.0f); in adjust_hsv_nhwc()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_libdispatch_mac.cc514 fd_handler_t new_h = Block_copy(^(dispatch_data_t data, int error) { in TSAN_INTERCEPTOR() local
522 REAL(dispatch_read)(fd, length, q, new_h); in TSAN_INTERCEPTOR()
523 Block_release(new_h); in TSAN_INTERCEPTOR()
531 fd_handler_t new_h = Block_copy(^(dispatch_data_t data, int error) { in TSAN_INTERCEPTOR() local
539 REAL(dispatch_write)(fd, data, q, new_h); in TSAN_INTERCEPTOR()
540 Block_release(new_h); in TSAN_INTERCEPTOR()
548 dispatch_io_handler_t new_h = in TSAN_INTERCEPTOR() local
557 REAL(dispatch_io_read)(channel, offset, length, q, new_h); in TSAN_INTERCEPTOR()
558 Block_release(new_h); in TSAN_INTERCEPTOR()
567 dispatch_io_handler_t new_h = in TSAN_INTERCEPTOR() local
[all …]
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_libdispatch.cpp594 fd_handler_t new_h = Block_copy(^(dispatch_data_t data, int error) { in TSAN_INTERCEPTOR() local
602 REAL(dispatch_read)(fd, length, q, new_h); in TSAN_INTERCEPTOR()
603 Block_release(new_h); in TSAN_INTERCEPTOR()
611 fd_handler_t new_h = Block_copy(^(dispatch_data_t data, int error) { in TSAN_INTERCEPTOR() local
619 REAL(dispatch_write)(fd, data, q, new_h); in TSAN_INTERCEPTOR()
620 Block_release(new_h); in TSAN_INTERCEPTOR()
628 dispatch_io_handler_t new_h = in TSAN_INTERCEPTOR() local
637 REAL(dispatch_io_read)(channel, offset, length, q, new_h); in TSAN_INTERCEPTOR()
638 Block_release(new_h); in TSAN_INTERCEPTOR()
647 dispatch_io_handler_t new_h = in TSAN_INTERCEPTOR() local
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Drecurrent_v2.py503 (last_output, outputs, new_h,
531 last_output, outputs, new_h, runtime = gpu_gru(**gpu_gru_kwargs)
533 last_output, outputs, new_h, runtime = standard_gru(
536 last_output, outputs, new_h, runtime = gru_with_backend_selection(
539 states = [new_h]
811 (last_output, outputs, new_h,
836 last_output, outputs, new_h, runtime = defun_standard_gru(**params)
839 return last_output, outputs, new_h, runtime
1220 (last_output, outputs, new_h, new_c,
1261 last_output, outputs, new_h, new_c, runtime = gpu_lstm(
[all …]
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dmutex.cc1934 PerThreadSynch *new_h = Enqueue(nullptr, waitp, v, flags); in LockSlowLoop() local
1937 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to empty list failed"); in LockSlowLoop()
1942 v, reinterpret_cast<intptr_t>(new_h) | nv, in LockSlowLoop()
1980 PerThreadSynch *new_h = Enqueue(h, waitp, v, flags); in LockSlowLoop() local
1982 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to list failed"); in LockSlowLoop()
1990 reinterpret_cast<intptr_t>(new_h), in LockSlowLoop()
2078 PerThreadSynch *new_h = nullptr; in UnlockSlow() local
2085 new_h = Enqueue(nullptr, waitp, new_readers, kMuIsCond); in UnlockSlow()
2092 if (new_h != nullptr) { in UnlockSlow()
2093 nv |= kMuWait | reinterpret_cast<intptr_t>(new_h); in UnlockSlow()
[all …]
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dmutex.cc1937 PerThreadSynch *new_h = Enqueue(nullptr, waitp, v, flags); in LockSlowLoop() local
1940 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to empty list failed"); in LockSlowLoop()
1945 v, reinterpret_cast<intptr_t>(new_h) | nv, in LockSlowLoop()
1983 PerThreadSynch *new_h = Enqueue(h, waitp, v, flags); in LockSlowLoop() local
1985 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to list failed"); in LockSlowLoop()
1993 reinterpret_cast<intptr_t>(new_h), in LockSlowLoop()
2083 PerThreadSynch *new_h = nullptr; in UnlockSlow() local
2090 new_h = Enqueue(nullptr, waitp, new_readers, kMuIsCond); in UnlockSlow()
2097 if (new_h != nullptr) { in UnlockSlow()
2098 nv |= kMuWait | reinterpret_cast<intptr_t>(new_h); in UnlockSlow()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dmutex.cc1937 PerThreadSynch *new_h = Enqueue(nullptr, waitp, v, flags); in LockSlowLoop() local
1940 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to empty list failed"); in LockSlowLoop()
1945 v, reinterpret_cast<intptr_t>(new_h) | nv, in LockSlowLoop()
1983 PerThreadSynch *new_h = Enqueue(h, waitp, v, flags); in LockSlowLoop() local
1985 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to list failed"); in LockSlowLoop()
1993 reinterpret_cast<intptr_t>(new_h), in LockSlowLoop()
2083 PerThreadSynch *new_h = nullptr; in UnlockSlow() local
2090 new_h = Enqueue(nullptr, waitp, new_readers, kMuIsCond); in UnlockSlow()
2097 if (new_h != nullptr) { in UnlockSlow()
2098 nv |= kMuWait | reinterpret_cast<intptr_t>(new_h); in UnlockSlow()
[all …]
/external/angle/third_party/abseil-cpp/absl/synchronization/
Dmutex.cc1948 PerThreadSynch *new_h = Enqueue(nullptr, waitp, v, flags); in LockSlowLoop() local
1951 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to empty list failed"); in LockSlowLoop()
1956 v, reinterpret_cast<intptr_t>(new_h) | nv, in LockSlowLoop()
1994 PerThreadSynch *new_h = Enqueue(h, waitp, v, flags); in LockSlowLoop() local
1996 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to list failed"); in LockSlowLoop()
2004 reinterpret_cast<intptr_t>(new_h), in LockSlowLoop()
2094 PerThreadSynch *new_h = nullptr; in UnlockSlow() local
2101 new_h = Enqueue(nullptr, waitp, new_readers, kMuIsCond); in UnlockSlow()
2108 if (new_h != nullptr) { in UnlockSlow()
2109 nv |= kMuWait | reinterpret_cast<intptr_t>(new_h); in UnlockSlow()
[all …]
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dmutex.cc1937 PerThreadSynch *new_h = Enqueue(nullptr, waitp, v, flags); in LockSlowLoop() local
1940 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to empty list failed"); in LockSlowLoop()
1945 v, reinterpret_cast<intptr_t>(new_h) | nv, in LockSlowLoop()
1983 PerThreadSynch *new_h = Enqueue(h, waitp, v, flags); in LockSlowLoop() local
1985 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to list failed"); in LockSlowLoop()
1993 reinterpret_cast<intptr_t>(new_h), in LockSlowLoop()
2083 PerThreadSynch *new_h = nullptr; in UnlockSlow() local
2090 new_h = Enqueue(nullptr, waitp, new_readers, kMuIsCond); in UnlockSlow()
2097 if (new_h != nullptr) { in UnlockSlow()
2098 nv |= kMuWait | reinterpret_cast<intptr_t>(new_h); in UnlockSlow()
[all …]
/external/abseil-cpp/absl/synchronization/
Dmutex.cc1934 PerThreadSynch *new_h = Enqueue(nullptr, waitp, v, flags); in LockSlowLoop() local
1937 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to empty list failed"); in LockSlowLoop()
1942 v, reinterpret_cast<intptr_t>(new_h) | nv, in LockSlowLoop()
1980 PerThreadSynch *new_h = Enqueue(h, waitp, v, flags); in LockSlowLoop() local
1982 ABSL_RAW_CHECK(new_h != nullptr, "Enqueue to list failed"); in LockSlowLoop()
1990 reinterpret_cast<intptr_t>(new_h), in LockSlowLoop()
2078 PerThreadSynch *new_h = nullptr; in UnlockSlow() local
2085 new_h = Enqueue(nullptr, waitp, new_readers, kMuIsCond); in UnlockSlow()
2092 if (new_h != nullptr) { in UnlockSlow()
2093 nv |= kMuWait | reinterpret_cast<intptr_t>(new_h); in UnlockSlow()
[all …]
/external/tensorflow/tensorflow/python/keras/layers/legacy_rnn/
Drnn_cell_impl.py615 new_h = u * state + (1 - u) * c
616 return new_h, new_h
803 new_h = multiply(self._activation(new_c), sigmoid(o))
806 new_state = LSTMStateTuple(new_c, new_h)
808 new_state = array_ops.concat([new_c, new_h], 1)
809 return new_h, new_state
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc865 ChunkHandle new_h = TryToCoalesce(h, (required_bytes > 0)); in MergeTimestampedChunks() local
866 InsertFreeChunkIntoBin(new_h); in MergeTimestampedChunks()
868 c = ChunkFromHandle(new_h); in MergeTimestampedChunks()
869 if (new_h != h && c->freed_at_count > 0) { in MergeTimestampedChunks()
870 timestamped_chunks_.push_back(new_h); in MergeTimestampedChunks()