-
Couldn't load subscription status.
- Fork 0
Try #8
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
Try #8
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -4,7 +4,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") | |||
|
|
||||
| # Note: zlib is placed earlier as tensorflow's zlib does not include unzip | ||||
| http_archive( | ||||
|
|
||||
| name = "zlib", | ||||
|
|
||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [reviewdog-suggester] reported by reviewdog 🐶
Suggested change
|
||||
| build_file = "//third_party:zlib.BUILD", | ||||
| sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1", | ||||
| strip_prefix = "zlib-1.2.11", | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -31,7 +31,7 @@ | |||||
| assert sum(e.startswith("require = ") for e in entries) == 1 | ||||||
| version = list(e[10:] for e in entries if e.startswith("version = "))[0].strip('"') | ||||||
| require = list(e[10:] for e in entries if e.startswith("require = "))[0].strip('"') | ||||||
| assert version != "" | ||||||
| assert version != "" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [reviewdog-suggester] reported by reviewdog 🐶
Suggested change
|
||||||
| assert require != "" | ||||||
|
|
||||||
| if "--install-require" in sys.argv: | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -14,15 +14,19 @@ limitations under the License. | |||||
| ==============================================================================*/ | ||||||
|
|
||||||
| #include "avif/avif.h" | ||||||
|
|
||||||
|
|
||||||
|
Comment on lines
+17
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [reviewdog-suggester] reported by reviewdog 🐶
Suggested change
|
||||||
| #include "tensorflow/core/framework/op_kernel.h" | ||||||
|
|
||||||
| namespace tensorflow { | ||||||
| namespace io { | ||||||
|
|
||||||
|
|
||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [reviewdog-suggester] reported by reviewdog 🐶
Suggested change
|
||||||
| namespace { | ||||||
|
|
||||||
| class DecodeAVIFOp : public OpKernel { | ||||||
| public: | ||||||
| explicit DecodeAVIFOp(OpKernelConstruction* context) : OpKernel(context) {} | ||||||
| explicit DecodeAVIFOp(OpKernelConstruction* context) : OpKernel(context) {} | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [reviewdog-suggester] reported by reviewdog 🐶
Suggested change
|
||||||
|
|
||||||
| void Compute(OpKernelContext* context) override { | ||||||
| const Tensor& contents_tensor = context->input(0); | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[reviewdog-suggester] reported by reviewdog 🐶