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.py122 b_value = beams_value[max_sequence_lengths[b]:, b, :]
123 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.h74 const T2 b_value = b[b_index]; in operator() local
75 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.c1604 if ((size_t)size <= sizeof(obj->b_value)) { in resize()
D_ctypes.c2670 if ((size_t)dict->size <= sizeof(obj->b_value)) { in PyCData_MallocBuffer()
2672 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.c2787 if ((size_t)dict->size <= sizeof(obj->b_value)) { in PyCData_MallocBuffer()
2789 obj->b_ptr = (char *)&obj->b_value; in PyCData_MallocBuffer()
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py149 b_value = b.collection_def[k]
156 len(a_value.bytes_list.value), len(b_value.bytes_list.value))
158 b_value.bytes_list.value):
163 tester.assertEquals(a_value, b_value)
/external/tensorflow/tensorflow/python/ops/
Dgradients_test.py459 def _GetFuncGradients(self, f, x_value, b_value): argument
461 b = constant_op.constant(b_value, name="b")
/external/tensorflow/tensorflow/tools/quantization/
Dquantize_graph_test.py131 b_value = flat_b[index]
132 difference = a_value - b_value