Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/sparse/
Dsoftmax_op.cc66 Tensor dense_shape_t = logits_matrix->dense_shape(); in Compute() local
71 DataTypeToEnum<T>::value, dense_shape_t, in Compute()
149 Tensor dense_shape_t = softmax_matrix->dense_shape(); in Compute() local
151 static_cast<const Tensor>(dense_shape_t).vec<int64>(); in Compute()
160 dense_shape_t.SummarizeValue(3), " vs. ", in Compute()
178 DataTypeToEnum<T>::value, dense_shape_t, in Compute()
Dzeros_op.h44 const Tensor& dense_shape_t, CSRSparseMatrix* matrix) { in operator()
45 auto dense_shape = dense_shape_t.vec<int64>(); in operator()
78 dtype, dense_shape_t, batch_ptr_t, csr_row_ptr_t, coo_col_ind_t, in operator()
Dcsr_sparse_matrix_to_dense_op.cc66 const Tensor& dense_shape_t = csr_sparse_matrix->dense_shape(); in Compute() local
67 const int rank = dense_shape_t.dim_size(0); in Compute()
72 auto dense_shape = dense_shape_t.vec<int64>(); in Compute()
138 const Tensor& dense_shape_t = csr_sparse_matrix->dense_shape(); in Compute() local
139 const int rank = dense_shape_t.dim_size(0); in Compute()
147 auto dense_shape = dense_shape_t.vec<int64>(); in Compute()
Dzeros_op.cc48 const Tensor& dense_shape_t = c->input(0); in Compute() local
52 csr_sparse_matrix_zeros(c, dtype_, dense_shape_t, &matrix)); in Compute()
Dsparse_tensor_to_csr_sparse_matrix_op.cc127 const Tensor& dense_shape_t = c->input(2); in ComputeAsync() local
128 const int rank = dense_shape_t.NumElements(); in ComputeAsync()
134 auto dense_shape = dense_shape_t.vec<int64>(); in ComputeAsync()
177 &indices_t, &dense_shape_t, dense_shape, rows, cols, in ComputeAsync()
266 values_t.dtype(), dense_shape_t, batch_ptr_t, csr_row_ptr_t, in ComputeAsync()
Dcsr_sparse_matrix_to_sparse_tensor_op.cc147 const Tensor& dense_shape_t = csr_sparse_matrix->dense_shape(); in Compute() local
148 c->set_output(2, dense_shape_t); in Compute()
149 const int rank = dense_shape_t.dim_size(0); in Compute()
153 auto dense_shape = dense_shape_t.vec<int64>(); in Compute()
Ddense_to_csr_sparse_matrix_op.cc249 Tensor dense_shape_t(cpu_allocator(), DT_INT64, TensorShape({rank})); in ComputeAsync() local
250 auto dense_shape_mutable = dense_shape_t.vec<int64>(); in ComputeAsync()
254 auto dense_shape = const_cast<const Tensor&>(dense_shape_t).vec<int64>(); in ComputeAsync()
333 values_t.dtype(), dense_shape_t, batch_ptr_t, csr_row_ptr_t, in ComputeAsync()
Dsparse_matrix.h457 auto dense_shape_t = dense_shape.vec<int64>(); in ValidateTypesAndShapes() local
458 const int64 batch_size = (rank == 2) ? 1 : dense_shape_t(0); in ValidateTypesAndShapes()
459 const int64 num_rows = (rank == 2) ? dense_shape_t(0) : dense_shape_t(1); in ValidateTypesAndShapes()
/external/tensorflow/tensorflow/core/kernels/
Dsparse_fill_empty_rows_op.cc44 const Tensor& dense_shape_t) { in operator ()()
53 const auto dense_shape = dense_shape_t.vec<Tindex>(); in operator ()()
202 const Tensor& dense_shape_t = context->input(kDenseShapeInput); in Compute() local
205 OP_REQUIRES(context, TensorShapeUtils::IsVector(dense_shape_t.shape()), in Compute()
207 dense_shape_t.shape().DebugString())); in Compute()
222 dense_shape_t)); in Compute()
Dsparse_fill_empty_rows_op.h31 const Tensor& dense_shape_t);
/external/tensorflow/tensorflow/core/ops/
Dsparse_csr_matrix_ops_test.cc37 Tensor dense_shape_t = test::AsTensor<int64>({5, 6}); in TEST() local
38 op.input_tensors[2] = &dense_shape_t; in TEST()
/external/tensorflow/tensorflow/python/ops/
Dsparse_ops_test.py97 dense_shape_t = constant_op.constant(dense_shape, dtype=dtypes.int64)
101 indices=indices_t, values=values_t, dense_shape=dense_shape_t)