Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for tac_module (0.33 sec)

  1. tensorflow/compiler/mlir/tfr/passes/passes.h

                                          RewritePatternSet &patterns);
    
    // Decompose ops.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateDecomposeTFOpsPass(
        std::optional<ModuleOp> tfr_module = std::nullopt);
    
    // Rewrites quantized operands and results with their storage types.
    // This pass should be run at module level after decomposition, if there are
    // quantized operands or results.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/stablehlo_quantizer_odml_oss.ipynb

            "  ).call,\n",
            "    with_gradient=False,\n",
            "    native_serialization=True,\n",
            "    native_serialization_platforms=('cpu',))\n",
            "\n",
            "tf_module = tf.Module()\n",
            "tf_module.f = tf.function(\n",
            "    jax_callable,\n",
            "    autograph=False,\n",
            "    input_signature=[\n",
            "        tf.TensorSpec(input_shape, jnp.float32, 'lhs_operand')\n",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 12 03:40:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo_lib.cc

      mlir::MLIRContext context(registry);
      context.loadAllAvailableDialects();
    
      auto tf_module = mlir::parseSourceString<ModuleOp>(module_op_str, &context);
      if (!tf_module) {
        return absl::UnknownError("Failed to parse MLIR module");
      }
    
      auto mlir_file_path = ExportModule(*tf_module);
      if (!mlir_file_path.ok()) {
        return absl::UnknownError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/IdeaModelBuilder.java

        }
    
        private static void buildDependencies(DefaultIdeaModule tapiModule, IdeaModule ideaModule, boolean offlineDependencyResolution) {
            ideaModule.setOffline(offlineDependencyResolution);
            Set<Dependency> resolved = ideaModule.resolveDependencies();
            List<DefaultIdeaDependency> dependencies = IdeaModuleBuilderSupport.buildDependencies(resolved);
            tapiModule.setDependencies(dependencies);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 12 14:00:13 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/transforms/target_annotation.cc

      explicit TargetAnnotationPass(llvm::ArrayRef<std::string> device_specs)
          : TacFunctionPass(nullptr) {
        device_specs_flag_ = device_specs;
      }
    
      explicit TargetAnnotationPass(const TacModule* module)
          : TacFunctionPass(module) {}
    
     private:
      void runOnFunction() override;
      void SetTargetAnnotation(Operation* op,
                               llvm::ArrayRef<std::string> device_specs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 19:32:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicySpec.groovy

            !expiry2.mustCheck
            expiry2.keepFor == Duration.ofMillis(SECOND)
        }
    
        def "provides details of cached module"() {
            expect:
            cachePolicy.eachModule(new Action<ModuleResolutionControl>() {
                void execute(ModuleResolutionControl t) {
                    assertId(t.request, 'g', 'n', 'v')
                    assertId(t.cachedResult.id, 'group', 'name', 'version')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 22:04:14 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

    // module itself without inserting into the tf module.
    FailureOr<StringAttr> RenameStablehloFunctions(
        MLIRContext *context, SymbolTableCollection &symbol_tables,
        ModuleOp tf_module, ModuleOp stablehlo_module) {
      SymbolTable &tf_symbol_table = symbol_tables.getSymbolTable(tf_module);
      // `stablehlo_module` is deleted right after the deserialization, so no need
      // to store its `SymbolTable` to `SymbolTableCollection`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

                        arith::ArithDialect, func::FuncDialect>();
      }
    
      explicit RaiseToTFOpsPass(std::optional<ModuleOp> tfr_module,
                                bool materialize_derived_attrs)
          : external_tfr_module_(tfr_module),
            materialize_derived_attrs_(materialize_derived_attrs) {}
    
      StringRef getArgument() const final { return "tfr-raise-to-tf"; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

      }
      return absl::OkStatus();
    }
    
    // Constructor of the decompose context.
    TFRDecomposeContext::TFRDecomposeContext(mlir::ModuleOp tfr_module)
        : tfr_module_(tfr_module), pm_(tfr_module_.getContext()) {
      mlir::OpPassManager& func_pm = pm_.nest<mlir::func::FuncOp>();
    
      // Prepare the imported graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultCachePolicy.java

                }
            });
        }
    
        public void cacheChangingModulesFor(final int value, final TimeUnit units) {
            keepChangingModulesFor = units.toMillis(value);
            eachModule(moduleResolutionControl -> {
                if (moduleResolutionControl.isChanging()) {
                    moduleResolutionControl.cacheFor(value, units);
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 22:04:14 UTC 2023
    - 14.9K bytes
    - Viewed (0)
Back to top