Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Daccumulate_n_optimizer.cc117 TensorShapeProto variable_shape; in rewriteNode() local
118 variable_shape.add_dim()->set_size(0); in rewriteNode()
120 .Attr("shape", variable_shape) in rewriteNode()
/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column.py538 def variable_shape(self): member in SequenceNumericColumn
556 [array_ops.shape(dense_tensor)[:1], [-1], self.variable_shape],
565 num_elements = self.variable_shape.num_elements()
Dfeature_column_v2.py362 total_elements += column.variable_shape.num_elements()
374 num_elements = column.variable_shape.num_elements()
523 first_dim = column.variable_shape.num_elements()
2311 def variable_shape(self): member in DenseColumn
2372 num_elements = column.variable_shape.num_elements()
2775 def variable_shape(self): member in NumericColumn
2783 return self.variable_shape
2878 def variable_shape(self): member in BucketizedColumn
2887 return self.variable_shape
3026 def variable_shape(self): member in EmbeddingColumn
[all …]
Dfeature_column_v2_test.py524 self.assertAllEqual((2, 3), b.variable_shape)
660 self.assertAllEqual(a_bucketized_copy.variable_shape, (2, 3))
1720 def variable_shape(self): member in LinearModelTest.test_dense_and_sparse_column._DenseAndSparseColumn
2434 def variable_shape(self): member in OldLinearModelTest.test_dense_and_sparse_column._DenseAndSparseColumn
2435 return self.variable_shape
2439 return self.variable_shape
5878 self.assertEqual(indicator_a.variable_shape, [1, 4])
5885 self.assertEqual(indicator_b.variable_shape, [1, 100])
5947 self.assertEqual(column.variable_shape, [1, 4])
6252 self.assertEqual((embedding_dimension,), embedding_column.variable_shape)
[all …]
/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,
Dresource_variable_ops.py1498 def variable_shape(handle, out_type=dtypes.int32): function
1501 return gen_resource_variable_ops.variable_shape(handle, out_type=out_type)
1504 return gen_resource_variable_ops.variable_shape(handle, out_type=out_type)
1514 params_shape = variable_shape(handle)
Dcond_v2.py302 gen_resource_variable_ops.variable_shape(func_graph.inputs[i]))
Dwhile_v2.py373 gen_resource_variable_ops.variable_shape(op_output))
Dcontrol_flow_ops.py1329 return array_ops.zeros(gen_resource_variable_ops.variable_shape(val))
1344 gen_resource_variable_ops.variable_shape(switch_val))
/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.py157 resource_variable_ops.variable_shape(v.handle)),