File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
tensorflow_compression/cc Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -31,3 +31,34 @@ cc_binary(
3131 "@tensorflow_pip//:libtensorflow_framework" ,
3232 ],
3333)
34+
35+ cc_library (
36+ name = "bit_coder" ,
37+ srcs = ["lib/bit_coder.cc" ],
38+ hdrs = ["lib/bit_coder.h" ],
39+ deps = [
40+ "@com_google_absl//absl/base:endian" ,
41+ "@com_google_absl//absl/status" ,
42+ "@com_google_absl//absl/status:statusor" ,
43+ "@com_google_absl//absl/strings" ,
44+ ],
45+ )
46+
47+ cc_library (
48+ name = "run_length_gamma_kernels" ,
49+ srcs = [
50+ "kernels/run_length_gamma_kernels.cc" ,
51+ "ops/run_length_gamma_ops.cc" ,
52+ ],
53+ linkstatic = 1 ,
54+ deps = [
55+ ":bit_coder" ,
56+ "@com_google_absl//absl/types:span" ,
57+ "@org_tensorflow//tensorflow/core:framework" ,
58+ "@org_tensorflow//tensorflow/core:framework_lite" ,
59+ "@org_tensorflow//tensorflow/core:lib" ,
60+ "@org_tensorflow//tensorflow/core:tflite_portable_logging" ,
61+ "@org_tensorflow//tensorflow/core/platform:status" ,
62+ ],
63+ alwayslink = 1 ,
64+ )
You can’t perform that action at this time.
0 commit comments