Immutable differentiable tf lists.
authorAlexandre Passos <apassos@google.com>
Fri, 12 Jan 2018 23:49:43 +0000 (15:49 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Fri, 12 Jan 2018 23:53:50 +0000 (15:53 -0800)
commitf24322bec4d45ca712c2efa60d84a43ac73d7b8c
treef08fee70eaae29df60e8d7b968f2001e1ad6b5e6
parent908a627dd5a53683d26857ce67726454975b7c50
Immutable differentiable tf lists.

This implements just the basic operations for pushing, popping, stacking, and unstacking. Operations to create an empty list of a known size and to set / get individual elements by index forthcoming.

PiperOrigin-RevId: 181803880
23 files changed:
tensorflow/c/eager/c_api.cc
tensorflow/contrib/cmake/tf_core_ops.cmake
tensorflow/contrib/cmake/tf_python.cmake
tensorflow/contrib/cmake/tf_tests.cmake
tensorflow/core/BUILD
tensorflow/core/api_def/base_api/api_def_EmptyTensorList.pbtxt [new file with mode: 0644]
tensorflow/core/api_def/base_api/api_def_TensorListFromTensor.pbtxt [new file with mode: 0644]
tensorflow/core/api_def/base_api/api_def_TensorListLength.pbtxt [new file with mode: 0644]
tensorflow/core/api_def/base_api/api_def_TensorListPopBack.pbtxt [new file with mode: 0644]
tensorflow/core/api_def/base_api/api_def_TensorListPushBack.pbtxt [new file with mode: 0644]
tensorflow/core/api_def/base_api/api_def_TensorListStack.pbtxt [new file with mode: 0644]
tensorflow/core/framework/variant_tensor_data.cc
tensorflow/core/framework/variant_tensor_data.h
tensorflow/core/kernels/BUILD
tensorflow/core/kernels/list_kernels.cc [new file with mode: 0644]
tensorflow/core/kernels/list_kernels.cu.cc [new file with mode: 0644]
tensorflow/core/kernels/list_kernels.h [new file with mode: 0644]
tensorflow/core/ops/list_ops.cc [new file with mode: 0644]
tensorflow/python/BUILD
tensorflow/python/eager/backprop.py
tensorflow/python/kernel_tests/BUILD
tensorflow/python/kernel_tests/list_ops_test.py [new file with mode: 0644]
tensorflow/python/ops/list_ops.py [new file with mode: 0644]