-
Notifications
You must be signed in to change notification settings - Fork 234
feat(v2): tensor column mode #886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
fe10440 to
31d85d8
Compare
915406d to
342a726
Compare
63c74c7 to
62671f3
Compare
| **Unstacked mode (default)**: | ||
| In this case a DocumentArray is a list of Documents and each Document owns its data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does it mean to for a Document to "own" data?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it means that the data is bound to the lifecycle of the Document. If the Document go out of scope the data as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it also be accurate to say the Document stores the data?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think here owning the the good term from a computer science point of view
78b7968 to
b6770d2
Compare
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Co-authored-by: Johannes Messner <[email protected]> Signed-off-by: samsja <[email protected]> Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Co-authored-by: Alex Cureton-Griffiths <[email protected]> Signed-off-by: samsja <[email protected]> Signed-off-by: Sami Jaghouar <[email protected]>
Co-authored-by: Alex Cureton-Griffiths <[email protected]> Signed-off-by: samsja <[email protected]> Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
b6770d2 to
0b3f538
Compare
Signed-off-by: Sami Jaghouar <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
alexcg1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed a few things last time round 😅
| **Unstacked mode (default)**: | ||
| In this case a DocumentArray is a list of Documents and each Document owns its data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it also be accurate to say the Document stores the data?
Signed-off-by: Sami Jaghouar <[email protected]>
Co-authored-by: Alex Cureton-Griffiths <[email protected]> Signed-off-by: samsja <[email protected]>
Co-authored-by: Alex Cureton-Griffiths <[email protected]> Signed-off-by: samsja <[email protected]>
Signed-off-by: Sami Jaghouar <[email protected]>
alexcg1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Signed-off-by: Sami Jaghouar <[email protected]>
|
📝 Docs are deployed on https://ft-feat-tensor-column-mode--jina-docs.netlify.app 🎉 |
Context
introducing the stacked mode for faster computation and saving memory when dealing with tensor when needed:
We expose as well a context manager