Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose tf.broadcast_to op #19753

Merged
merged 3 commits into from
Jun 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions tensorflow/contrib/framework/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,13 @@
from tensorflow.python.framework.smart_cond import smart_constant_value
from tensorflow.python.framework.tensor_spec import BoundedTensorSpec
from tensorflow.python.framework.tensor_spec import TensorSpec
from tensorflow.python.ops.array_ops import broadcast_to
from tensorflow.python.ops.init_ops import convolutional_delta_orthogonal
from tensorflow.python.ops.init_ops import convolutional_orthogonal_1d
from tensorflow.python.ops.init_ops import convolutional_orthogonal_2d
from tensorflow.python.ops.init_ops import convolutional_orthogonal_3d
from tensorflow.python.util.all_util import remove_undocumented

_allowed_symbols = ['nest', 'broadcast_to']
_allowed_symbols = ['nest']
_nest_allowed_symbols = [
'assert_same_structure',
'is_sequence',
Expand Down
4 changes: 0 additions & 4 deletions tensorflow/core/api_def/python_api/api_def_BroadcastTo.pbtxt

This file was deleted.

4 changes: 4 additions & 0 deletions tensorflow/tools/api/golden/tensorflow.pbtxt
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,10 @@ tf_module {
name: "broadcast_static_shape"
argspec: "args=[\'shape_x\', \'shape_y\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "broadcast_to"
argspec: "args=[\'input\', \'shape\', \'name\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "case"
argspec: "args=[\'pred_fn_pairs\', \'default\', \'exclusive\', \'strict\', \'name\'], varargs=None, keywords=None, defaults=[\'None\', \'False\', \'False\', \'case\'], "
Expand Down