add len to nativeResolver (#15488)
authorZachary DeVito <zdevito@fb.com>
Sat, 22 Dec 2018 00:44:19 +0000 (16:44 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 22 Dec 2018 00:47:15 +0000 (16:47 -0800)
commitf3a588fedebb8e4e131aa734f03e4e61142120d0
tree52ca199a5c1eb5f7e8d5ff0cb22f5a4a753b15be
parent934fc2865645b0c9e6608dd3cd40c1acd52ad64c
add len to nativeResolver (#15488)

Summary:
(otherwise len is not resolvable using torch::jit::compile)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15488

Differential Revision: D13539991

Pulled By: zdevito

fbshipit-source-id: 3ba85fa7b1adb163f9229c568f7997d22321903d
aten/src/ATen/core/interned_strings.h
test/cpp/api/jit.cpp
torch/csrc/jit/script/compiler.cpp