Home
last modified time | relevance | path

Searched refs:as_proto (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/python/saved_model/
Dutils_impl.py70 tensor_shape=tensor.get_shape().as_proto())
111 tensor_shape=tensor_shape.unknown_shape().as_proto(),
Dnested_structure_coder.py370 tensor_shape_value.as_proto())
Dsave.py574 proto.variable.shape.CopyFrom(obj.shape.as_proto())
/external/tensorflow/tensorflow/python/ops/
Dparsing_ops.py978 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/
Dgraph_only_ops.py47 shape = attr_value_pb2.AttrValue(shape=shape.as_proto())
Dbackprop.py80 return tensor_shape.as_shape(value).as_proto()
82 return [tensor_shape.as_shape(v).as_proto() for v in value]
Dbackprop_test.py962 expected = tensor_shape.TensorShape(s).as_proto()
973 [tensor_shape.TensorShape(s).as_proto() for s in shape_list],
/external/tensorflow/tensorflow/python/framework/
Dtensor_shape_test.py405 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)
Dcommon_shapes.py670 r.shape.CopyFrom(t.get_shape().as_proto())
685 tensor_shape.TensorShape(None).as_proto().SerializeToString())
690 arr[idx] = s.as_proto().SerializeToString()
Dfunction_def_to_graph.py140 node_def.attr["shape"].shape.CopyFrom(input_shapes[i].as_proto())
Dtensor_shape.py1131 def as_proto(self): member in TensorShape
Dop_def_library.py199 return tensor_shape.as_shape(v).as_proto()
Dmeta_graph.py1025 output.get_shape().as_proto() for output in value.outputs])
Dtensor_util.py533 tensor_shape=tensor_shape.as_shape(shape).as_proto())
Dops_test.py434 tensor_shape.as_shape([2, 1]).as_proto())
436 [tensor_shape.as_shape([]).as_proto(),
437 tensor_shape.as_shape([1]).as_proto()])
Dtensor_util_test.py753 tensor_util.ShapeEquals(t, tensor_shape.as_shape([2, 2]).as_proto()))
Dops.py2550 shapes = [s.as_proto() for s in shapes]
3300 [output.get_shape().as_proto() for output in op.outputs])
/external/tensorflow/tensorflow/python/util/
Dexample_parser_configuration.py102 tensor_shape.TensorShape(dense_shapes[i]).as_proto())
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-tensor-shape.pbtxt26 name: "as_proto"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-tensor-shape.pbtxt26 name: "as_proto"
/external/tensorflow/tensorflow/python/kernel_tests/
Daggregate_ops_test.py92 tensor_shape=tensor_shape.TensorShape([]).as_proto(),
Dconstant_op_test.py150 tensor_shape=tensor_shape.TensorShape([]).as_proto(),
544 tensor_shape=tensor_shape.TensorShape([]).as_proto(),
Dresource_variable_ops_test.py1047 stored_shape = tensor_shape.TensorShape([None, 4]).as_proto()
1060 tensor_shape=tensor_shape.TensorShape([]).as_proto(),