- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 91 for registry_ (0.09 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/shape_inference_utils.h
#include "tensorflow/core/ir/utils/shape_inference_utils.h" namespace mlir { class Operation; namespace TF { // Runs TensorFlow shape inference associated to the op type registered in the // TensorFlow op registry based on the Graph version, operands, and attributes. // Invoking this shape function will create conversions of parameters to the // TensorFlow Graph equivalent data structures and back to MLIR equivalent data
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 1.9K bytes - Viewed (0) -
.github/workflows/sigbuild-docker-branch.yml
password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GCR uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0 with: registry: gcr.io username: _json_key password: ${{ secrets.GCP_CREDS }} - name: Generate variables for cache busting and tag naming run: |
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 18:43:43 UTC 2023 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_nnapi.cc
return "tfl-device-transform-nnapi"; } llvm::StringRef getDescription() const final { return "Suitable transformation for nnapi only."; } void getDependentDialects(DialectRegistry& registry) const override { registry.insert<TF::TensorFlowDialect>(); } void runOnOperation() override; }; void DeviceTransformNNAPIPass::runOnOperation() { auto func = getOperation(); auto* ctx = &getContext();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 07 18:43:51 UTC 2022 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/register_common_dialects.h
#include "mlir/IR/DialectRegistry.h" // from @llvm-project namespace mlir { // Inserts common Tensorflow dialects used for offline tools. void RegisterCommonToolingDialects(mlir::DialectRegistry& registry); }; // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 21 20:13:57 UTC 2023 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.h
std::vector<tensorflow::GraphOptimizationPass*> tf_passes); // Same as above but pass names instead of the passes provided. The registered // passes are queried, if a TF graph optimization pass is not found in registry // then the pass fails. // Pass requires that the module ran on is convertible to TF Graph. std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateTensorFlowGraphOptimizationPass(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 12 15:01:38 UTC 2022 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.cc
absl::flat_hash_set<std::string> denylisted_mlir_op_names; for (auto& entry : denylisted_ops) { denylisted_mlir_op_names.insert(TfLiteToMlir(entry)); } DialectRegistry registry; MLIRContext context(registry); StatusScopedDiagnosticHandler statusHandler(&context, /*propagate=*/true); // Import input_model to a MLIR module
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc
class LowerGlobalsToMlProgram : public impl::LowerGlobalsToMlProgramPassBase<LowerGlobalsToMlProgram> { public: void getDependentDialects(DialectRegistry ®istry) const override { registry.insert<mlir::tf_saved_model::TensorFlowSavedModelDialect, ml_program::MLProgramDialect>(); } void runOnOperation() override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/saved_model/saved_model_test.cc
std::string saved_model_mlir_path = tensorflow::GetDataDependencyFilepath( "tensorflow/compiler/mlir/tfrt/tests/saved_model/testdata/test.mlir"); mlir::DialectRegistry registry; mlir::RegisterAllTensorFlowDialects(registry); mlir::MLIRContext context(registry); auto module = mlir::parseSourceFile<mlir::ModuleOp>(saved_model_mlir_path, &context); ASSERT_TRUE(module); std::vector<std::string> inputs;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 13 01:17:29 UTC 2023 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.cc
PYBIND11_MODULE(mlir_wrapper, m) { m.def("preloadTensorFlowDialects", [](mlir::MLIRContext &context) { mlir::DialectRegistry registry; mlir::RegisterAllTensorFlowDialects(registry); context.appendDialectRegistry(registry); context.loadAllAvailableDialects(); }); m.def("verify", [](std::string input) { llvm::SourceMgr SM = llvm::SourceMgr();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 08:41:42 UTC 2023 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/analysis/update_op_cost_in_tfrt_mlir_test.cc
"tensorflow/compiler/mlir/tfrt/tests/analysis/testdata/test.mlir"); mlir::DialectRegistry registry; tfrt::RegisterTFRTDialects(registry); registry.insert<tfrt::fallback_async::FallbackAsyncDialect>(); registry.insert<tfrt::fallback_sync::FallbackSyncDialect>(); mlir::MLIRContext context(registry); auto module = mlir::parseSourceFile<mlir::ModuleOp>(saved_model_mlir_path, &context); ASSERT_TRUE(module);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 21 22:52:12 UTC 2023 - 3.1K bytes - Viewed (0)