/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | tensor_signature.py | 66 cls, dtype=tensor.values.dtype, shape=None, is_sparse=True) 68 cls, dtype=tensor.dtype, shape=tensor.get_shape(), is_sparse=False) 88 if other.is_sparse: 89 return self.is_sparse and self.dtype.is_compatible_with(other.dtype) 92 not self.is_sparse) 95 if self.is_sparse: 107 if self.is_sparse:
|
/external/tensorflow/tensorflow/python/framework/ |
D | sparse_tensor_test.py | 60 self.assertFalse(sparse_tensor.is_sparse(3)) 61 self.assertFalse(sparse_tensor.is_sparse("foo")) 62 self.assertFalse(sparse_tensor.is_sparse(np.array(3))) 64 sparse_tensor.is_sparse(sparse_tensor.SparseTensor([[0]], [0], [1]))) 66 sparse_tensor.is_sparse(
|
D | sparse_tensor.py | 101 if not is_sparse(sparse_tensor_value): 292 def is_sparse(x): function
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | matmul_op.cc | 32 explicit MatMulOp(OpKernelConstruction* ctx, bool is_sparse = false) in MatMulOp() argument 33 : XlaOpKernel(ctx), is_sparse_(is_sparse) { in MatMulOp() 36 if (is_sparse) { in MatMulOp()
|
/external/tensorflow/tensorflow/python/training/ |
D | proximal_gradient_descent_test.py | 144 def applyOptimizer(self, opt, steps=5, is_sparse=False): argument 145 if is_sparse: 169 if is_sparse: 191 is_sparse=True) 195 gradient_descent.GradientDescentOptimizer(3.0), is_sparse=True)
|
D | proximal_adagrad_test.py | 177 def applyOptimizer(self, opt, steps=5, is_sparse=False): argument 178 if is_sparse: 202 if is_sparse: 243 is_sparse=True) 249 is_sparse=True)
|
D | ftrl_test.py | 306 def applyOptimizer(self, opt, dtype, steps=5, is_sparse=False): argument 307 if is_sparse: 327 if is_sparse: 382 is_sparse=True) 388 is_sparse=True) 406 is_sparse=True) 412 is_sparse=True)
|
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
D | ftrl_test.py | 309 def applyOptimizer(self, opt, dtype, steps=5, is_sparse=False): argument 310 if is_sparse: 330 if is_sparse: 385 is_sparse=True) 391 is_sparse=True) 409 is_sparse=True) 415 is_sparse=True)
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | feature_column_test.py | 468 c = fc._real_valued_var_len_column("ccc", is_sparse=True) 469 self.assertTrue(c.is_sparse) 475 d4 = fc._real_valued_var_len_column("d4", is_sparse=True) 477 self.assertEqual(d4.is_sparse, True) 483 rvc = fc._real_valued_var_len_column("rvc", is_sparse=True) 490 "rvc", default_value=0, is_sparse=False) 501 "rvc", dtype=dtypes.int32, default_value=0, is_sparse=True) 510 "rvc", dtype=dtypes.string, default_value="", is_sparse=True) 617 "sparse_real_valued1", is_sparse=True) 649 fc._real_valued_var_len_column("bbb", is_sparse=True), [0]) [all …]
|
D | feature_column.py | 1695 if self.is_sparse: 1716 if self.is_sparse: 1746 if not self.is_sparse: 1757 is_sparse=False): argument 1797 if default_value is None and not is_sparse: 1812 is_sparse)
|
D | feature_column_ops_test.py | 57 "rating", is_sparse=True) 75 "rating", normalizer=square_fn, is_sparse=True) 566 feature_column._real_valued_var_len_column("rating", is_sparse=True)) 2180 is_sparse=False)
|
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/ |
D | slide_dataset_op_test.py | 224 self.assertTrue(sparse_tensor.is_sparse(actual)) 259 self.assertTrue(sparse_tensor.is_sparse(actual)) 287 self.assertTrue(sparse_tensor.is_sparse(actual)) 297 self.assertTrue(sparse_tensor.is_sparse(actual))
|
/external/tensorflow/tensorflow/contrib/tensor_forest/python/ops/ |
D | data_ops.py | 127 is_sparse = isinstance(data[k], sparse_tensor.SparseTensor) 128 if is_sparse:
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | test_base.py | 91 if sparse_tensor.is_sparse(result_value): 184 if sparse_tensor.is_sparse(op1[i]):
|
D | from_tensor_slices_test.py | 120 if sparse_tensor.is_sparse(c) else c.shape[1:] for c in components 153 if sparse_tensor.is_sparse(component):
|
D | from_tensors_test.py | 87 if sparse_tensor.is_sparse(c) else c.shape for c in components
|
/external/tensorflow/tensorflow/python/data/util/ |
D | sparse.py | 131 if sparse_tensor.is_sparse(tensor) else tensor
|
D | structure_test.py | 485 if sparse_tensor.is_sparse(expected):
|
/external/tensorflow/tensorflow/python/data/experimental/ops/ |
D | scan_ops.py | 43 if sparse_tensor.is_sparse(t) else ops.convert_to_tensor(
|
/external/avb/ |
D | avbtool | 708 self.is_sparse = False 815 self.is_sparse = True 840 if not self.is_sparse: 871 if not self.is_sparse: 904 if not self.is_sparse: 949 if not self.is_sparse: 1002 if not self.is_sparse: 2202 ' (Sparse)' if image.is_sparse else '')) 2925 assert not image.is_sparse 3122 assert not image.is_sparse [all …]
|
/external/tensorflow/tensorflow/python/ops/ |
D | math_grad.py | 1177 is_sparse = { 1187 assert t1 in is_sparse and t2 in is_sparse 1188 t1_sparse = is_sparse[t1] 1189 t2_sparse = is_sparse[t2]
|
/external/tensorflow/tensorflow/contrib/keras/api/keras/backend/ |
D | __init__.py | 80 from tensorflow.python.keras.backend import is_sparse
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_arrays.py | 215 if issparse(input_data) and not K.is_sparse(feed_tensor):
|
/external/tensorflow/tensorflow/python/keras/ |
D | backend.py | 620 def is_sparse(tensor): function 664 if is_sparse(tensor): 1474 if is_sparse(x): 2348 if py_all(is_sparse(x) for x in tensors): 3070 if is_sparse(tensor):
|
/external/tensorflow/tensorflow/python/data/ops/ |
D | dataset_ops.py | 1269 if sparse_tensor_lib.is_sparse(t) else ops.convert_to_tensor( 2070 if sparse_tensor_lib.is_sparse(t) else ops.convert_to_tensor( 2094 if sparse_tensor_lib.is_sparse(t) else ops.convert_to_tensor(
|