Home
last modified time | relevance | path

Searched defs:dense_shape (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/lite/tools/optimize/sparsity/
Dformat_converter_test.cc27 const std::vector<int> dense_shape = {3, 4}; in TEST() local
56 const std::vector<int> dense_shape = {3, 4}; in TEST() local
87 const std::vector<int> dense_shape = {3, 4}; in TEST() local
118 const std::vector<int> dense_shape = {3, 4}; in TEST() local
151 const std::vector<int> dense_shape = {3, 4}; in TEST() local
180 const std::vector<int> dense_shape = {3, 4}; in TEST() local
211 const std::vector<int> dense_shape = {3, 4}; in TEST() local
242 const std::vector<int> dense_shape = {3, 4}; in TEST() local
275 const std::vector<int> dense_shape = {3, 2, 2}; variable
311 const std::vector<int> dense_shape = {3, 2, 2}; variable
[all …]
/external/tensorflow/tensorflow/python/framework/
Dsparse_tensor_test.py154 def my_func(dense_shape): argument
206 def my_func(dense_shape): argument
283 def testToFromComponents(self, st_spec, indices, values, dense_shape): argument
327 def testToFromTensorList(self, st_spec, indices, values, dense_shape): argument
Dindexed_slices.py101 def __init__(self, values, indices, dense_shape=None): argument
118 def dense_shape(self): member in IndexedSlices
Dsparse_tensor.py116 def __init__(self, indices, values, dense_shape): argument
217 def dense_shape(self): member in SparseTensor
/external/tensorflow/tensorflow/core/kernels/sparse/
Dsparse_matrix.h146 const Tensor& dense_shape, // on host in CreateCSRSparseMatrix()
209 inline Tensor& dense_shape() { in dense_shape() function
214 inline const Tensor& dense_shape() const { in dense_shape() function
338 Tensor dense_shape = p.tensors_[0]; in Decode() local
400 CSRSparseMatrix(DataType dtype, const Tensor& dense_shape, in CSRSparseMatrix()
425 const Tensor& dense_shape, in ValidateTypesAndShapes()
Dzeros_op.h45 auto dense_shape = dense_shape_t.vec<int64>(); in operator() local
Dcsr_sparse_matrix_to_dense_op.cc72 auto dense_shape = dense_shape_t.vec<int64>(); in Compute() local
147 auto dense_shape = dense_shape_t.vec<int64>(); in Compute() local
Dcsr_sparse_matrix_to_sparse_tensor_op.cc80 const Tensor& dense_shape = csr_sparse_matrix->dense_shape(); in Compute() local
153 auto dense_shape = dense_shape_t.vec<int64>(); in Compute() local
Dsparse_tensor_to_csr_sparse_matrix_op.cc68 const Tensor& dense_shape = ctx->input(2); in Compute() local
134 auto dense_shape = dense_shape_t.vec<int64>(); in ComputeAsync() local
Ddense_to_csr_sparse_matrix_op.cc89 Tensor dense_shape(cpu_allocator(), DT_INT64, TensorShape({rank})); in Compute() local
254 auto dense_shape = const_cast<const Tensor&>(dense_shape_t).vec<int64>(); in ComputeAsync() local
Dsparse_ordering_amd_op.cc71 const Tensor& dense_shape = input_matrix->dense_shape(); in Compute() local
Dsparse_matrix_components_op.cc71 auto dense_shape = csr_sparse_matrix->dense_shape().vec<int64>(); in Compute() local
Dsparse_cholesky_op.cc239 const Tensor& dense_shape = sparse_matrix.dense_shape(); in ValidateInputs() local
/external/tensorflow/tensorflow/core/ops/
Dsparse_csr_matrix_ops.cc69 ShapeHandle dense_shape; in __anon59a9d6c30102() local
104 ShapeHandle dense_shape = c->Vector(rank); in __anon59a9d6c30202() local
117 ShapeHandle dense_shape = c->input(0); in __anon59a9d6c30302() local
459 ShapeHandle dense_shape; in __anon59a9d6c30b02() local
Dparsing_ops.cc35 for (const auto& dense_shape : dense_shapes) { in AddDenseOutputShapes() local
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dsparse_to_dense.py42 def generate_index(dense_shape): argument
/external/tensorflow/tensorflow/core/kernels/data/
Dsparse_tensor_slice_dataset_op.cc74 std::vector<int64> dense_shape; in AsGraphDefInternal() local
237 const Tensor* dense_shape; in MakeDataset() local
Dsparse_tensor_slice_dataset_op_test.cc29 Tensor dense_shape, DataType tvalues, in SparseTensorSliceDatasetParams()
/external/tensorflow/tensorflow/python/distribute/v1/
Dcross_device_ops_test.py99 def _make_indexed_slices(values, indices, dense_shape, device): argument
108 def _make_mirrored_indexed_slices(devices, values, indices, dense_shape): argument
/external/tensorflow/tensorflow/lite/kernels/
Dembedding_lookup_sparse.cc155 const TfLiteTensor* dense_shape; in Eval() local
/external/tensorflow/tensorflow/python/distribute/
Dstrategy_common_test.py166 def _make_indexed_slices(values, indices, dense_shape): argument
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Ddense_to_sparse_batch_dataset_op.cc179 Tensor dense_shape(ctx->allocator({}), DT_INT64, {row_ndims + 1}); in GetNextInternal() local
/external/tensorflow/tensorflow/core/kernels/
Dsparse_fill_empty_rows_op.cc53 const auto dense_shape = dense_shape_t.vec<Tindex>(); in operator ()() local
Dcount_ops.cc68 Tensor* dense_shape; in OutputSparse() local
/external/tensorflow/tensorflow/python/kernel_tests/
Dunicode_decode_op_test.py86 def _make_sparse_tensor(indices, values, dense_shape, dtype=np.int32): argument

12