Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,567 for Function1 (0.14 sec)

  1. src/cmd/compile/internal/ssagen/nowb.go

    	var q ir.NameQueue
    
    	for _, fn := range typecheck.Target.Funcs {
    		symToFunc[fn.LSym] = fn
    
    		// Make nowritebarrierrec functions BFS roots.
    		if fn.Pragma&ir.Nowritebarrierrec != 0 {
    			funcs[fn] = nowritebarrierrecCall{}
    			q.PushRight(fn.Nname)
    		}
    		// Check go:nowritebarrier functions.
    		if fn.Pragma&ir.Nowritebarrier != 0 && fn.WBPos.IsKnown() {
    			base.ErrorfAt(fn.WBPos, 0, "write barrier prohibited")
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc

        signalPassFailure();
        return;
      }
    
      // Copy all functions used by this signature to the final MLIR module.
      for (func::FuncOp func : module_ref->getOps<func::FuncOp>()) {
        // Do nothing if the function already exists.
        if (symbol_table.lookup(func.getSymName()) != nullptr) continue;
    
        // Set the function to private and insert to the module.
        func::FuncOp new_func = func.clone();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc

      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(OptimizeFunctionalOpsPass)
    
      void runOnOperation() override;
    };
    
    // Updates function return type of the given functions to match the terminator
    // op operands' types.
    //
    // Requires the function has exactly one block.
    void UpdateFuncType(func::FuncOp func) {
      Operation* terminator = func.front().getTerminator();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/functionParamInBinaryModule3.txt

    final class MainKt$ArticleScreenContent$1$1 {
        // source: 'main.kt'
        enclosing method MainKt$ArticleScreenContent$1.invoke()Lkotlin/jvm/functions/Function0;
        synthetic final field $title: java.lang.String
        inner (anonymous) class MainKt$ArticleScreenContent$1
        inner (anonymous) class MainKt$ArticleScreenContent$1$1
        method <init>(p0: java.lang.String): void
        public synthetic bridge method invoke(): java.lang.Object
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 22 12:26:50 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

        // functional form, all such external values need to become function
        // arguments of the outlined functions, and become pass through values in
        // the outlined body function. So when outlining the while body, in addition
        // to the region arguments, all these external references need to be added
        // as function arguments.
        llvm::SmallVector<Value, 4> extern_values =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc

    constexpr char kResourceFunctionMsg[] =
        "expects function level resource argument";
    constexpr char kInvalidResourceMsg[] =
        "expects resource to be a VarHandleOp or function argument";
    constexpr char kResourceNameArgAttr[] = "tf.resource_name";
    
    // Checks if a function has only one block.
    mlir::LogicalResult CheckSingleBlockFunction(func::FuncOp function) {
      if (!llvm::hasSingleElement(function)) {
        return function.emitError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.h

    // function name when loading it back.
    inline constexpr StringRef kOriginalStablehloEntryFunctionAttrName =
        "_original_entry_function";
    
    // FunctionCallOpType to be generated as the function call operator when
    // function lifting will happen.
    enum FunctionCallOpType { TFPartitionedCallOp = 0, TFXlaCallModuleOp = 1 };
    
    // Checks if an op is inside a lifted function.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/substitutorProvider/AbstractCreateInheritanceTypeSubstitutorTest.kt

                        val functions = superClassSymbol.getDeclaredMemberScope().getAllSymbols()
                            .filterIsInstance<KaFunctionSymbol>()
                            .toList()
                        if (functions.isNotEmpty()) {
                            appendLine("Substituted callables:")
                            withIndent {
                                for (function in functions) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

    // function, which might not exist in case of multi-signature graphs. In that
    // case, this pass will create a new main function, which calls signature
    // functions.
    //
    // An already existing @main function will be renamed by attaching a numeric
    // suffix like `@main_0` to avoid conflict with the newly created main function.
    class InsertMainFunctionPass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.h

        mlir::ModuleOp module, const GraphExportConfig& configs);
    
    // Converts an MLIR module to TensorFlow graph and FunctionLibraryDefinition.
    // The "main" function of the module is stored in the graph and the rest of
    // functions are stored in the library. Control ret nodes are stored separately
    // in `control_ret_nodes`.
    Status ConvertMlirToGraph(mlir::ModuleOp module,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top