NFC: Update Gather op comments to reflect support for batch_dims=rank(indices)
PiperOrigin-RevId: 285255979 Change-Id: I39a3664a10c9400dc8440549033c6fa8192f22f2
This commit is contained in:
parent
f7f4049ded
commit
606a542c81
@ -257,7 +257,7 @@ class GatherOp : public XlaOpKernel {
|
||||
TF_DISALLOW_COPY_AND_ASSIGN(GatherOp);
|
||||
|
||||
// The number of batch dimensions, as passed in the batch_dims attribute.
|
||||
// It must be less than rank(indices).
|
||||
// It must be less than or equal to rank(indices).
|
||||
int32 batch_dims_ = 0;
|
||||
};
|
||||
|
||||
|
@ -182,7 +182,7 @@ class GatherOp : public OpKernel {
|
||||
|
||||
private:
|
||||
// The number of batch dimensions, as passed in the batch_dims attribute.
|
||||
// It must be less than rank(indices).
|
||||
// It must be less than or equal to rank(indices).
|
||||
int32 batch_dims_ = 0;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user