-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update TensorFlow to `r2.9` branch * ⬆️ [email protected] * Update ARM patch * Update MLIR converter code to TF 2.9 * Fix Java build Not sure if we should rather set `--incompatible_disallow_resource_jars=false` but this seems to work well. For more info see bazelbuild/bazel#13221 * ⬆️ [email protected] * ⬆️ [email protected] * Add TF 2.9 to CI * Switch to upstream `manylinux2014` toolchain * Update lce_benchmark_model CMake target Co-authored-by: Tom Bannink <[email protected]> Co-authored-by: Cedric Nugteren <[email protected]>
- Loading branch information
1 parent
d4b34d5
commit 94b62f6
Showing
48 changed files
with
296 additions
and
2,188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.2.1 | ||
5.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
#include "larq_compute_engine/mlir/ir/lce_ops.h" | ||
#include "mlir/Dialect/Func/IR/FuncOps.h" | ||
#include "mlir/Dialect/Quant/QuantOps.h" | ||
#include "mlir/Dialect/StandardOps/IR/Ops.h" | ||
#include "mlir/Support/MlirOptMain.h" | ||
#include "mlir/Tools/mlir-opt/MlirOptMain.h" | ||
#include "mlir/Transforms/Passes.h" | ||
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" | ||
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" | ||
|
||
int main(int argc, char** argv) { | ||
mlir::registerTransformsPasses(); | ||
mlir::DialectRegistry registry; | ||
registry.insert<mlir::arith::ArithmeticDialect, mlir::StandardOpsDialect, | ||
registry.insert<mlir::arith::ArithmeticDialect, mlir::func::FuncDialect, | ||
mlir::quant::QuantizationDialect, mlir::TF::TensorFlowDialect, | ||
mlir::TFL::TensorFlowLiteDialect, mlir::lq::LarqDialect>(); | ||
return failed(mlir::MlirOptMain(argc, argv, | ||
"Larq Compute Engine pass driver\n", registry, | ||
/*preloadDialectsInContext=*/false)); | ||
return failed(mlir::MlirOptMain( | ||
argc, argv, "Larq Compute Engine pass driver\n", registry)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.