Searched refs:b_value (Results 1 – 15 of 15) sorted by relevance
/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/ |
D | beam_search_ops_test.py | 120 b_value = beams_value[max_sequence_lengths[b]:, b, :] 121 self.assertAllClose(b_value, end_token * np.ones_like(b_value))
|
/external/tensorflow/tensorflow/core/kernels/ |
D | reference_gemm.h | 78 const int32 b_value = static_cast<int32>(b[b_index]) - offset_b; in ReferenceGemm() local 79 total += (a_value * b_value); in ReferenceGemm()
|
D | sparse_tensor_dense_matmul_op_gpu.cu.cc | 58 const T b_value = ldg(b + ((ADJ_B) ? j * b_cols + k : k * b_cols + j)); in SparseTensorDenseMatMulKernel() local 59 CudaAtomicAdd(out_location, a_value * b_value); in SparseTensorDenseMatMulKernel()
|
D | gemm_functors.h | 81 const T2 b_value = b[b_index]; in operator() local 82 total += (a_value * b_value); in operator()
|
D | betainc_op.cc | 95 auto b_value = b.shaped<T, NDIM>(b_shaper.x_reshape()); \ in Compute() 98 BCast::ToIndexArray<NDIM>(a_shaper.x_bcast()), b_value, \ in Compute()
|
D | sparse_tensor_dense_matmul_op.cc | 278 const T b_value = maybe_adjoint_b(k, n); in Compute() local 279 out(m, n) += a_value * b_value; in Compute()
|
/external/python/cpython3/Modules/_ctypes/ |
D | ctypes.h | 54 union value b_value; member 84 union value b_value; member 117 #define _CDataObject_HasExternalBuffer(v) ((v)->b_ptr != (char *)&(v)->b_value)
|
D | callproc.c | 1640 if ((size_t)size <= sizeof(obj->b_value)) { in resize()
|
D | _ctypes.c | 2767 if ((size_t)dict->size <= sizeof(obj->b_value)) { in PyCData_MallocBuffer() 2769 obj->b_ptr = (char *)&obj->b_value; in PyCData_MallocBuffer()
|
/external/python/cpython2/Modules/_ctypes/ |
D | ctypes.h | 94 union value b_value; member 124 union value b_value; member 157 #define _CDataObject_HasExternalBuffer(v) ((v)->b_ptr != (char *)&(v)->b_value)
|
D | callproc.c | 1767 if (size <= sizeof(obj->b_value)) { in resize()
|
D | _ctypes.c | 2881 if ((size_t)dict->size <= sizeof(obj->b_value)) { in PyCData_MallocBuffer() 2883 obj->b_ptr = (char *)&obj->b_value; in PyCData_MallocBuffer()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | algebraic_simplifier.cc | 869 int64 b_value = c->literal().GetFirstElement<T>(); in TryDivideToShift() local 870 if (b_value > 0 && IsPowerOfTwo(static_cast<uint64>(b_value))) { in TryDivideToShift() 888 int log2_abs_b_value = tensorflow::Log2Floor64(b_value); in TryDivideToShift() 911 uint64 b_value = c->literal().GetFirstElement<T>(); in TryDivideToShift() local 912 if (IsPowerOfTwo(b_value)) { in TryDivideToShift() 913 int log2_abs_b_value = tensorflow::Log2Floor64(b_value); in TryDivideToShift() 2471 int64 b_value = c->literal().GetFirstElement<T>(); in TryRemainderToAnd() local 2472 if (b_value > 0 && IsPowerOfTwo(static_cast<uint64>(b_value))) { in TryRemainderToAnd() 2492 LiteralUtil::CreateR0<T>(b_value - 1))); in TryRemainderToAnd() 2510 uint64 b_value = c->literal().GetFirstElement<T>(); in TryRemainderToAnd() local [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util.py | 200 b_value = b.collection_def[k] 207 len(a_value.bytes_list.value), len(b_value.bytes_list.value)) 209 b_value.bytes_list.value): 214 tester.assertEquals(a_value, b_value)
|
/external/tensorflow/tensorflow/python/ops/ |
D | gradients_test.py | 421 def _GetFuncGradients(self, f, x_value, b_value): argument 423 b = constant_op.constant(b_value, name="b")
|