MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / gather_nd

Method gather_nd

tensorflow/python/ops/variables.py:1156–1169  ·  view source on GitHub ↗

r"""Gather slices from `params` into a Tensor with shape specified by `indices`. See tf.gather_nd for details. Args: indices: A `Tensor`. Must be one of the following types: `int32`, `int64`. Index tensor. name: A name for the operation (optional). Returns: A

(self, indices, name=None)

Source from the content-addressed store, hash-verified

1154 raise AttributeError
1155
1156 def gather_nd(self, indices, name=None):
1157 r"""Gather slices from `params` into a Tensor with shape specified by `indices`.
1158
1159 See tf.gather_nd for details.
1160
1161 Args:
1162 indices: A `Tensor`. Must be one of the following types: `int32`, `int64`.
1163 Index tensor.
1164 name: A name for the operation (optional).
1165
1166 Returns:
1167 A `Tensor`. Has the same type as `params`.
1168 """
1169 raise AttributeError
1170
1171 @deprecated(None, "Prefer Dataset.range instead.")
1172 def count_up_to(self, limit):

Callers 15

callMethod · 0.45
sparsemaxFunction · 0.45
gather_tree_from_arrayFunction · 0.45
maybe_sampleMethod · 0.45
maybe_sampleMethod · 0.45
maybe_sampleMethod · 0.45
maybe_sampleMethod · 0.45
dense_to_sparse_tensorFunction · 0.45
dense_to_sparseFunction · 0.45

Calls

no outgoing calls