dict values(), keys(), and len() (#16629)
authorDavid Riazati <davidriazati@fb.com>
Tue, 5 Feb 2019 21:48:52 +0000 (13:48 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 5 Feb 2019 21:55:25 +0000 (13:55 -0800)
commite2d3a3fd6a248a788e3d548bb1caff9019c585ef
tree80a3aa8a400d9fb84a6687329baa5f9bbdad3566
parent0ceef3c9f686c654917e7608c4bcca0e85548f2d
dict values(), keys(), and len() (#16629)

Summary:
Adds some operations for dicts to match Python and tests
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16629

Differential Revision: D13961144

Pulled By: driazati

fbshipit-source-id: b31f27a4320ff62cd118b508fb0a13056535dc7c
aten/src/ATen/core/interned_strings.h
aten/src/ATen/core/jit_type.h
aten/src/ATen/core/type.cpp
test/test_jit.py
torch/csrc/jit/operator.cpp
torch/csrc/jit/register_prim_ops.cpp
torch/csrc/jit/script/compiler.cpp