Home
last modified time | relevance | path

Searched refs:variable_shape (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/python/tpu/
Dfeature_column_v2_test.py59 self.assertEqual((embedding_dimension,), embedding_column.variable_shape)
75 self.assertEqual((embedding_dimension,), embedding_column.variable_shape)
225 self.assertEqual((embedding_dimension,), embedding_column_a.variable_shape)
226 self.assertEqual((embedding_dimension,), embedding_column_b.variable_shape)
258 self.assertEqual((embedding_dimension,), embedding_column_a.variable_shape)
259 self.assertEqual((embedding_dimension,), embedding_column_b.variable_shape)
/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column.py543 def variable_shape(self): member in SequenceNumericColumn
561 [array_ops.shape(dense_tensor)[:1], [-1], self.variable_shape],
570 num_elements = self.variable_shape.num_elements()
Dfeature_column_v2.py431 total_elements += column.variable_shape.num_elements()
443 num_elements = column.variable_shape.num_elements()
520 first_dim = column.variable_shape.num_elements()
2427 def variable_shape(self): member in DenseColumn
2488 num_elements = column.variable_shape.num_elements()
2891 def variable_shape(self): member in NumericColumn
2899 return self.variable_shape
2996 def variable_shape(self): member in BucketizedColumn
3005 return self.variable_shape
3169 def variable_shape(self): member in EmbeddingColumn
[all …]
Dfeature_column_v2_test.py570 self.assertAllEqual((2, 3), b.variable_shape)
706 self.assertAllEqual(a_bucketized_copy.variable_shape, (2, 3))
1773 def variable_shape(self): member in LinearModelTest.test_dense_and_sparse_column._DenseAndSparseColumn
2447 def variable_shape(self): member in OldLinearModelTest.test_dense_and_sparse_column._DenseAndSparseColumn
2448 return self.variable_shape
2452 return self.variable_shape
5342 self.assertEqual(indicator_a.variable_shape, [1, 4])
5349 self.assertEqual(indicator_b.variable_shape, [1, 100])
5415 self.assertEqual(column.variable_shape, [1, 4])
5723 self.assertEqual((embedding_dimension,), embedding_column.variable_shape)
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Daccumulate_n_optimizer.cc149 TensorShapeProto variable_shape; in RewriteIntoTempVariable() local
150 variable_shape.add_dim()->set_size(0); in RewriteIntoTempVariable()
152 .Attr("shape", variable_shape) in RewriteIntoTempVariable()
/external/tensorflow/tensorflow/python/ops/
Dwhile_v2_indexed_slices_rewriter.py182 forward_shape = gen_resource_variable_ops.variable_shape(forward_input)
196 shape = gen_resource_variable_ops.variable_shape(forward_input,
Dcontrol_flow_state.py679 resource_variable_ops.variable_shape(val),
799 gen_resource_variable_ops.variable_shape(switch_val),
815 gen_resource_variable_ops.variable_shape(val),
Dresource_variable_ops.py1959 def variable_shape(handle, out_type=dtypes.int32): function
1962 return gen_resource_variable_ops.variable_shape(handle, out_type=out_type)
1965 return gen_resource_variable_ops.variable_shape(handle, out_type=out_type)
1975 params_shape = variable_shape(handle)
Dgradients_util.py793 resource_variable_ops.variable_shape(t), dtype=t_dtype)
Dwhile_v2.py531 gen_resource_variable_ops.variable_shape(op_output),
Darray_grad.py698 ref_shape = gen_resource_variable_ops.variable_shape(ref, indices.dtype)
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_utils.py129 variable_shape = tensor_shape.TensorShape(shape)
142 shape=variable_shape if variable_shape else None)
/external/tensorflow/tensorflow/python/keras/
Dmetrics.py1876 variable_shape = tensor_shape.TensorShape(
1879 variable_shape = tensor_shape.TensorShape(
1885 shape=variable_shape,
1889 shape=variable_shape,
1893 shape=variable_shape,
1897 shape=variable_shape,
/external/tensorflow/tensorflow/compiler/tests/
Dvariable_ops_test.py130 resource_variable_ops.variable_shape(h),
131 resource_variable_ops.variable_shape(h, out_type=dtypes.int64)
/external/tensorflow/tensorflow/python/framework/
Dimporter_test.py380 var_shape = resource_variable_ops.variable_shape(var.handle)
394 new_var_shape = resource_variable_ops.variable_shape(imported_var)
/external/tensorflow/tensorflow/python/kernel_tests/
Dresource_variable_ops_test.py172 resource_variable_ops.variable_shape(v.handle)),