Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/dtensor/python/
Dlayout.py202 return self.as_proto().SerializeToString() == other.as_proto(
213 return hash(self.as_proto().SerializeToString(deterministic=True))
222 def as_proto(self) -> layout_pb2.MeshProto: member in Mesh
440 mesh_proto = self.as_proto()
574 def as_proto(self) -> layout_pb2.LayoutProto: member in Layout
641 return self.mesh.as_proto()
683 return self.as_proto().SerializeToString()
/external/tensorflow/tensorflow/lite/tools/signature/
Dsignature_def_utils_test.py42 tensor_shape=tf.TensorShape([1, 8, 8, 3]).as_proto())
46 tensor_shape=tf.TensorShape([1, 8, 8, 3]).as_proto())
/external/cronet/base/trace_event/
Dtrace_arguments.h237 perfetto::protos::pbzero::DebugAnnotation>* as_proto; member
396 as_proto = new protozero::HeapBuffered<
399 perfetto::internal::CreateTracedValueFromProto(as_proto->get()),
702 delete values_[n].as_proto;
/external/tensorflow/tensorflow/python/util/
Dexample_parser_configuration.py110 tensor_shape.TensorShape(dense_shapes[i]).as_proto())
180 tensor_shape.TensorShape(dense_shapes[i]).as_proto())
/external/rust/beto-rust/nearby/connections/ukey2/ukey2/src/
Dukey2_handshake.rs193 .max_by_key(|c| c.cipher().as_proto() as i32) in handle_client_init()
272 server_init.set_handshake_cipher(commitment.cipher().as_proto()); in from()
433 handshake_cipher: Some(HandshakeCipher::Curve25519Sha512.as_proto().into()), in from()
439 handshake_cipher: Some(HandshakeCipher::P256Sha512.as_proto().into()), in from()
Dtests.rs101 handshake_cipher: Some(cipher.as_proto().into()), in advance_from_init_to_complete_server_x25519_test()
158 handshake_cipher: Some(cipher.as_proto().into()), in advance_from_init_to_complete_server_p256_test()
Dproto_adapter.rs114 pub(crate) fn as_proto(&self) -> ukey::Ukey2HandshakeCipher { in as_proto() method
/external/tensorflow/tensorflow/python/eager/
Dgraph_only_ops.py31 shape = attr_value_pb2.AttrValue(shape=shape.as_proto())
Dbackprop.py93 return tensor_shape.as_shape(value).as_proto()
95 return [tensor_shape.as_shape(v).as_proto() for v in value]
/external/tensorflow/tensorflow/python/saved_model/
Dutils_impl.py82 tensor_shape=tensor.get_shape().as_proto())
141 tensor_shape=tensor_shape.unknown_shape().as_proto(),
Dnested_structure_coder.py362 tensor_shape_value.as_proto())
/external/tensorflow/tensorflow/python/framework/
Dtensor_shape_test.py468 self.assertTrue(tensor_shape.unknown_shape().as_proto().unknown_rank)
469 self.assertFalse(tensor_shape.unknown_shape(rank=3).as_proto().unknown_rank)
471 tensor_shape.TensorShape([1, 2, 3]).as_proto().unknown_rank)
473 tensor_shape.TensorShape([1, None, 3]).as_proto().unknown_rank)
Dtensor_shape.py1240 return self.as_proto()
1362 def as_proto(self): member in TensorShape
Dfunction_def_to_graph.py200 input_shape = input_shape.as_proto()
/external/tensorflow/tensorflow/python/ops/linalg/sparse/
Dsparse_csr_matrix_ops.py68 return _create_handle_data_proto(tensor.shape.as_proto(),
136 c_handle = _create_handle_data_proto(c_shape.as_proto(),
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.experimental.dtensor.-layout.pbtxt10 name: "as_proto"
Dtensorflow.experimental.dtensor.-mesh.pbtxt26 name: "as_proto"
Dtensorflow.-tensor-shape.pbtxt28 name: "as_proto"
/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
Daggregate_ops_test.py88 tensor_shape=tensor_shape.TensorShape([]).as_proto(),
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-tensor-shape.pbtxt28 name: "as_proto"
/external/tensorflow/tensorflow/lite/python/
Dutil.py243 signature.inputs[array.name].tensor_shape.CopyFrom(array.shape.as_proto())
248 signature.outputs[array.name].tensor_shape.CopyFrom(array.shape.as_proto())
/external/tensorflow/tensorflow/python/ops/
Dlist_ops.py75 shape=element_shape.as_proto(),
Dparsing_config.py458 return [shape.as_proto() for shape in self.dense_shapes]
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/
Dconstant_op_test.py145 tensor_shape=tensor_shape.TensorShape([]).as_proto(),
571 tensor_shape=tensor_shape.TensorShape([]).as_proto(),
/external/tensorflow/tensorflow/python/compiler/tensorrt/model_tests/
Dmodel_handler.py106 shape = _get_concrete_tensor_shape(tensor.shape.as_proto(), batch_size)

12