clab / clab/dynet

Deleting one out of two ParameterCollection

Open
#1,193 2 comments 0 reactions 0 assignees View on GitHub
fix needs confirmation
Dominant language
C++
Stars
3.4k
Forks
701
PR merge metrics
No merged PRs in 30d

Description

Hi,

So I have two ParameterCollections in my architecture. Both come from different classes. One of them is just used to initialize some values of the other. I was wondering if I can delete that ParameterCollection after I have the initialization for better memory optimization? If I delete the object of that class, will that do the job?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, entry points, or tests. Start by locating ParameterCollection ownership and initialization behavior in the C++ API, then determine and document whether the initialized collection can be safely destroyed without invalidating the other collection or its parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.