Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
seo young Joung
tensorflow
Commits
3929ffac
Unverified
Commit
3929ffac
authored
3 years ago
by
Mihai Maruseac
Committed by
GitHub
3 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #50094 from tensorflow/geetachavan1-patch-4
Update ragged_tensor_to_variant_op.cc
parents
0c95b0f7
6a030605
r2.3
v2.3.4
v2.3.3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tensorflow/core/kernels/ragged_tensor_to_variant_op.cc
+1
-1
tensorflow/core/kernels/ragged_tensor_to_variant_op.cc
with
1 addition
and
1 deletion
+1
-1
tensorflow/core/kernels/ragged_tensor_to_variant_op.cc
View file @
3929ffac
...
...
@@ -176,7 +176,7 @@ class RaggedTensorToVariantOp : public OpKernel {
// Unbatch the Ragged Tensor and encode the components.
std
::
vector
<
RaggedTensor
>
ragged_components
;
auto
batched_splits_top_vec
=
batched_ragged_input
.
splits
(
0
)
.
vec
<
SPLIT_TYPE
>
();
batched_ragged_input
.
nested_
splits
[
0
]
.
vec
<
SPLIT_TYPE
>
();
int
num_components
=
batched_splits_top_vec
.
size
()
-
1
;
OP_REQUIRES
(
context
,
num_components
>=
0
,
errors
::
Internal
(
"Invalid split argument."
));
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help