Searched refs:as_proto (Results 1 – 23 of 23) sorted by relevance
/external/tensorflow/tensorflow/python/saved_model/ |
D | utils_impl.py | 70 tensor_shape=tensor.get_shape().as_proto()) 111 tensor_shape=tensor_shape.unknown_shape().as_proto(),
|
D | nested_structure_coder.py | 370 tensor_shape_value.as_proto())
|
D | save.py | 574 proto.variable.shape.CopyFrom(obj.shape.as_proto())
|
/external/tensorflow/tensorflow/python/ops/ |
D | parsing_ops.py | 978 dense_shapes_as_proto = [shape.as_proto() for shape in dense_shapes] 1445 tensor_shape.as_shape(shape).as_proto() 1449 tensor_shape.as_shape(shape).as_proto() 1781 context_dense_shapes = [tensor_shape.as_shape(shape).as_proto() 1783 feature_list_dense_shapes = [tensor_shape.as_shape(shape).as_proto() 2110 dense_shapes = [shape.as_proto() for shape in dense_shapes]
|
/external/tensorflow/tensorflow/python/eager/ |
D | graph_only_ops.py | 47 shape = attr_value_pb2.AttrValue(shape=shape.as_proto())
|
D | backprop.py | 80 return tensor_shape.as_shape(value).as_proto() 82 return [tensor_shape.as_shape(v).as_proto() for v in value]
|
D | backprop_test.py | 962 expected = tensor_shape.TensorShape(s).as_proto() 973 [tensor_shape.TensorShape(s).as_proto() for s in shape_list],
|
/external/tensorflow/tensorflow/python/framework/ |
D | tensor_shape_test.py | 405 self.assertTrue(tensor_shape.unknown_shape().as_proto().unknown_rank) 407 tensor_shape.unknown_shape(rank=3).as_proto().unknown_rank) 409 tensor_shape.TensorShape([1, 2, 3]).as_proto().unknown_rank) 411 tensor_shape.TensorShape([1, None, 3]).as_proto().unknown_rank)
|
D | common_shapes.py | 670 r.shape.CopyFrom(t.get_shape().as_proto()) 685 tensor_shape.TensorShape(None).as_proto().SerializeToString()) 690 arr[idx] = s.as_proto().SerializeToString()
|
D | function_def_to_graph.py | 140 node_def.attr["shape"].shape.CopyFrom(input_shapes[i].as_proto())
|
D | tensor_shape.py | 1131 def as_proto(self): member in TensorShape
|
D | op_def_library.py | 199 return tensor_shape.as_shape(v).as_proto()
|
D | meta_graph.py | 1025 output.get_shape().as_proto() for output in value.outputs])
|
D | tensor_util.py | 533 tensor_shape=tensor_shape.as_shape(shape).as_proto())
|
D | ops_test.py | 434 tensor_shape.as_shape([2, 1]).as_proto()) 436 [tensor_shape.as_shape([]).as_proto(), 437 tensor_shape.as_shape([1]).as_proto()])
|
D | tensor_util_test.py | 753 tensor_util.ShapeEquals(t, tensor_shape.as_shape([2, 2]).as_proto()))
|
D | ops.py | 2550 shapes = [s.as_proto() for s in shapes] 3300 [output.get_shape().as_proto() for output in op.outputs])
|
/external/tensorflow/tensorflow/python/util/ |
D | example_parser_configuration.py | 102 tensor_shape.TensorShape(dense_shapes[i]).as_proto())
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.-tensor-shape.pbtxt | 26 name: "as_proto"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.-tensor-shape.pbtxt | 26 name: "as_proto"
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | aggregate_ops_test.py | 92 tensor_shape=tensor_shape.TensorShape([]).as_proto(),
|
D | constant_op_test.py | 150 tensor_shape=tensor_shape.TensorShape([]).as_proto(), 544 tensor_shape=tensor_shape.TensorShape([]).as_proto(),
|
D | resource_variable_ops_test.py | 1047 stored_shape = tensor_shape.TensorShape([None, 4]).as_proto() 1060 tensor_shape=tensor_shape.TensorShape([]).as_proto(),
|