Skip to content

Simplify IValue::toTensor()#11355

Closed
smessmer wants to merge 10 commits intoexport-D9694326from
export-D9694918
Closed

Simplify IValue::toTensor()#11355
smessmer wants to merge 10 commits intoexport-D9694326from
export-D9694918

Conversation

@smessmer
Copy link
Contributor

@smessmer smessmer commented Sep 7, 2018

Stack:
    :white_circle:  #11352 Remove intrusive_ptr::reclaim() in Storage  💛
    :white_circle:  #11547 Remove intrusive_ptr::reclaim() in Storage (2/2)  💚
    :white_circle:  #11353 Simplify union payload copying  💛
    :black_circle:  #11355 Simplify IValue::toTensor()  💛
    :white_circle:  #11402 Simplify Blob move constructor/assignment  💛
    :white_circle:  #11414 IValue can store Blob  💛
    :white_circle:  #11548 Blob doesn't allow access to destroyCall anymore  💛
    :white_circle:  #11500 Use TypeMeta::dtor() instead of Blob::DestroyCall  💛
    :white_circle:  #11501 Move GetExceptionString to Error.h  💛
    :white_circle:  #11502 Improve TypeMeta  💛

There is no reason to implement refcounting manually in this case.
Given the correct NullType, toIntrusivePtr() and moveToIntrusivePtr() will do the right thing.

Differential Revision: D9694918

Differential Revision: D9694918
Differential Version: 57140103
@pytorchbot pytorchbot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Sep 7, 2018
Differential Revision: D9694918
Differential Version: 57214017
Differential Revision: D9694918
Differential Version: 57417171
Differential Revision: D9694918
Differential Version: 57452247
Differential Revision: D9694918
Differential Version: 57535398
Differential Revision: D9694918
Differential Version: 57551492
Differential Revision: D9694918
Differential Version: 57670069
Differential Revision: D9694918
Differential Version: 57695970
Differential Revision: D9694918
Differential Version: 57757835
Differential Revision: D9694918
Differential Version: 57851521
@soumith soumith deleted the export-D9694918 branch February 21, 2019 23:25
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants