• Sebastian Messmer's avatar
    Use c10::List (#21177) · b527e485
    Sebastian Messmer 提交于
    Summary:
    Pull Request resolved: https://github.com/pytorch/pytorch/pull/21177
    
    - Integrate c10::ListPtr into IValue and the c10 dispatcher.
    - Streamline conversion to/from IValue. Before, we had IValue::to<> and kernel_functor.h had its own ivalue_to_arg_type and return_type_to_ivalue. They are now unified. Also, this means that nested types like Dicts of Lists of Optional of Dict of ... do work as expected now
    
    Differential Revision: D15476433
    
    fbshipit-source-id: bde9df80df20091aa8e6ae17ba7e90abd149b954
    b527e485
名称
最后提交
最后更新
..
amd_build Loading commit data...
autograd Loading commit data...
cwrap Loading commit data...
docker Loading commit data...
jit Loading commit data...
nnwrap Loading commit data...
pyi Loading commit data...
setup_helpers Loading commit data...
shared Loading commit data...
README.md Loading commit data...
__init__.py Loading commit data...
aten_mirror.sh Loading commit data...
build_libtorch.py Loading commit data...
build_pytorch_libs.py Loading commit data...
build_variables.py Loading commit data...
clang_format.py Loading commit data...
clang_tidy.py Loading commit data...
download_mnist.py Loading commit data...
flake8_hook.py Loading commit data...
generated_dirs.txt Loading commit data...
git-pre-commit Loading commit data...
git_add_generated_dirs.sh Loading commit data...
git_reset_generated_dirs.sh Loading commit data...
pytorch.version Loading commit data...
run-clang-tidy-in-ci.sh Loading commit data...