Home
last modified time | relevance | path

Searched refs:b_value (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/
Dbeam_search_ops_test.py120 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/
Dreference_gemm.h78 const int32 b_value = static_cast<int32>(b[b_index]) - offset_b; in ReferenceGemm() local
79 total += (a_value * b_value); in ReferenceGemm()
Dsparse_tensor_dense_matmul_op_gpu.cu.cc58 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()
Dgemm_functors.h81 const T2 b_value = b[b_index]; in operator() local
82 total += (a_value * b_value); in operator()
Dbetainc_op.cc95 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()
Dsparse_tensor_dense_matmul_op.cc278 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/
Dctypes.h54 union value b_value; member
84 union value b_value; member
117 #define _CDataObject_HasExternalBuffer(v) ((v)->b_ptr != (char *)&(v)->b_value)
Dcallproc.c1640 if ((size_t)size <= sizeof(obj->b_value)) { in resize()
D_ctypes.c2767 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/
Dctypes.h94 union value b_value; member
124 union value b_value; member
157 #define _CDataObject_HasExternalBuffer(v) ((v)->b_ptr != (char *)&(v)->b_value)
Dcallproc.c1767 if (size <= sizeof(obj->b_value)) { in resize()
D_ctypes.c2881 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/
Dalgebraic_simplifier.cc869 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/
Dtest_util.py200 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/
Dgradients_test.py421 def _GetFuncGradients(self, f, x_value, b_value): argument
423 b = constant_op.constant(b_value, name="b")