Searched refs:name_to_addr (Results 1 – 1 of 1) sorted by relevance
79 std::map<std::string, AddressPtr> &name_to_addr = memory_register_->addresses(); in UpdateData() local82 if (name_to_addr.count(name) == 0) { in UpdateData()86 MS_ERROR_IF_NULL_W_RET_VAL(name_to_addr[name], false); in UpdateData()87 MS_ERROR_IF_NULL_W_RET_VAL(name_to_addr[name]->addr, false); in UpdateData()89 … MS_LOG(DEBUG) << "Update data for " << name << ". Destination size: " << name_to_addr[name]->size in UpdateData()91 …int ret = memcpy_s(name_to_addr[name]->addr, name_to_addr[name]->size, data.second.addr, data.seco… in UpdateData()143 std::map<std::string, AddressPtr> &name_to_addr = memory_register_->addresses(); in Pull() local144 return name_to_addr["weight"]; in Pull()153 std::map<std::string, AddressPtr> &name_to_addr = memory_register_->addresses(); in GetWeight() local154 return name_to_addr["weight"]; in GetWeight()