Searched refs:proto_ (Results 1 – 8 of 8) sorted by relevance
53 : proto_(std::move(proto)) { in EmbeddingNetworkParamsFromProto()60 embeddings_quant_scales_.resize(proto_->embeddings_size()); in EmbeddingNetworkParamsFromProto()61 embeddings_quant_weights_.resize(proto_->embeddings_size()); in EmbeddingNetworkParamsFromProto()62 for (int i = 0; i < proto_->embeddings_size(); ++i) { in EmbeddingNetworkParamsFromProto()63 MatrixParams *embedding = proto_->mutable_embeddings()->Mutable(i); in EmbeddingNetworkParamsFromProto()96 if (!proto_) { in GetTaskSpec()100 if (proto_->HasExtension(extension_id)) { in GetTaskSpec()101 return &(proto_->GetExtension(extension_id)); in GetTaskSpec()113 int embeddings_size() const override { return proto_->embeddings_size(); } in embeddings_size()117 return proto_->embeddings(i).rows(); in embeddings_num_rows()[all …]
94 unittest::TestAllTypes proto_; member in google::protobuf::text_format_unittest::TextFormatTest116 unittest::TestAllExtensions proto_; member in google::protobuf::text_format_unittest::TextFormatExtensionsTest125 TestUtil::SetAllFields(&proto_); in TEST_F()126 EXPECT_EQ(proto_debug_string_, proto_.DebugString()); in TEST_F()130 TestUtil::SetAllExtensions(&proto_); in TEST_F()131 EXPECT_EQ(proto_debug_string_, proto_.DebugString()); in TEST_F()135 proto_.set_optional_int32(1); in TEST_F()136 proto_.set_optional_string("hello"); in TEST_F()137 proto_.mutable_optional_nested_message()->set_bb(2); in TEST_F()138 proto_.mutable_optional_foreign_message(); in TEST_F()[all …]
534 proto_(proto), in TurnServerConnection()539 return src_ == c.src_ && dst_ == c.dst_ && proto_ == c.proto_; in operator ==()543 return src_ < c.src_ || dst_ < c.dst_ || proto_ < c.proto_; in operator <()551 ost << src_.ToString() << "-" << dst_.ToString() << ":"<< kProtos[proto_]; in ToString()
43 TurnServerConnection() : proto_(PROTO_UDP), socket_(NULL) {} in TurnServerConnection()56 cricket::ProtocolType proto_; variable
711 explicit SetArgumentPointeeAction(const Proto& proto) : proto_(new Proto) { in SetArgumentPointeeAction()712 proto_->CopyFrom(proto); in SetArgumentPointeeAction()718 ::std::tr1::get<N>(args)->CopyFrom(*proto_); in Perform()722 const internal::linked_ptr<Proto> proto_;
829 explicit SetArgumentPointeeAction(const Proto& proto) : proto_(new Proto) {830 proto_->CopyFrom(proto);836 ::testing::get<N>(args)->CopyFrom(*proto_);840 const internal::linked_ptr<Proto> proto_;
1620 explicit SetArgumentPointeeAction(const Proto& proto) : proto_(new Proto) {1621 proto_->CopyFrom(proto);1627 ::std::tr1::get<N>(args)->CopyFrom(*proto_);1631 const internal::linked_ptr<Proto> proto_;