Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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(

Copy link

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 🐶

Suggested change

name = "zlib",

Copy link

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 🐶

Suggested change

build_file = "//third_party:zlib.BUILD",
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
strip_prefix = "zlib-1.2.11",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 != ""
Copy link

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 🐶

Suggested change
assert version != ""
assert version != ""

assert require != ""

if "--install-require" in sys.argv:
Expand Down
6 changes: 5 additions & 1 deletion tensorflow_io/core/kernels/image_avif_kernels.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,19 @@ limitations under the License.
==============================================================================*/

#include "avif/avif.h"


Comment on lines +17 to +18
Copy link

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 🐶

Suggested change

#include "tensorflow/core/framework/op_kernel.h"

namespace tensorflow {
namespace io {


Copy link

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 🐶

Suggested change

namespace {

class DecodeAVIFOp : public OpKernel {
public:
explicit DecodeAVIFOp(OpKernelConstruction* context) : OpKernel(context) {}
explicit DecodeAVIFOp(OpKernelConstruction* context) : OpKernel(context) {}
Copy link

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 🐶

Suggested change
explicit DecodeAVIFOp(OpKernelConstruction* context) : OpKernel(context) {}
explicit DecodeAVIFOp(OpKernelConstruction* context) : OpKernel(context) {}


void Compute(OpKernelContext* context) override {
const Tensor& contents_tensor = context->input(0);
Expand Down