Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,277 for Inliner (0.14 sec)

  1. src/cmd/compile/internal/dwarfgen/dwinl.go

    	// is part of the top-level function (ii == 0) or if it was
    	// produced as a result of an inline (ii != 0).
    	//
    	// If a variable was not produced by an inline and its containing
    	// function was not inlined, then we just assign an ordering of
    	// based on variable name.
    	//
    	// If a variable was not produced by an inline and its containing
    	// function was inlined, then we need to assign a child index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc

      pm.addNestedPass<FuncOp>(mlir::TFDevice::CreateLaunchToDeviceAttributePass());
    
      // Note that the region-based control-flow produced here still contains
      // function call ops which get inlined by the subsequent inliner pass.
      pm.addPass(mlir::TF::CreateTFFunctionalControlFlowToRegions());
      pm.addPass(mlir::createInlinerPass());
      pm.addNestedPass<FuncOp>(
          mlir::TF::CreateDropWhileShapeInvariantInDeviceClusterPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 16:09:14 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/tac_module.h

        std::vector<std::string> hardware_backends;
        // Debug mode.
        // This will output different alternative subgraphs in mlir format for debug
        // purpose.
        bool debug_mode = false;
        // Whether to enable inliner passes or not.
        bool enable_inliner = false;
        // Whether to legalize ops to TFLite ops before exporting.
        bool legalize_to_tflite_ops = false;
      };
    
      virtual ~TacModule() = default;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      // TPUCompilationResultsOp.
      if (op->hasAttr(kTpuCompilationStatus)) {
        op->setAttr(kTpuCompilationStatus, attr);
      }
    }
    
    // A helper class to inline TF::StatefulPartitionedCall ops
    struct Inliner : public InlinerInterface {
      Inliner(OpBuilder& builder, SymbolTable& symbol_table)
          : InlinerInterface(builder.getContext()),
            builder(builder),
            symbol_table(symbol_table) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // that work on TF dialect and before inliner so that the function calls in
      // body and cond are inlined for optimization.
      pass_manager->addPass(mlir::TFL::CreateLegalizeTFWhilePass());
    
      // Add function inlining pass. Both TF and TFLite dialects are opted into
      // function inliner interface.
      pass_manager->addPass(mlir::createInlinerPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. test/closure3.dir/main.go

    		}
    	}
    
    	{
    		a := 2
    		if r := func(x int) int { // ERROR "can inline main.func28"
    			b := 3
    			return func(y int) int { // ERROR "can inline main.func28.1" "can inline main.main.func28.func35"
    				c := 5
    				func(z int) { // ERROR "can inline main.func28.1.1" "can inline main.func28.main.func28.1.2" "can inline main.main.func28.func35.1" "can inline main.main.func28.main.main.func28.func35.func37"
    					a = a * x
    					b = b * y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:29 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ir/func.go

    	// from another package is imported and inlined.
    	Dcl     []*Name
    	HaveDcl bool // whether we've loaded Dcl
    
    	// Function properties, encoded as a string (these are used for
    	// making inlining decisions). See cmd/compile/internal/inline/inlheur.
    	Properties string
    
    	// CanDelayResults reports whether it's safe for the inliner to delay
    	// initializing the result parameters until immediately before the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

        const LayoutOptimizationPipelineOptions& options);
    
    struct StandardPipelineOptions
        : public PassPipelineOptions<StandardPipelineOptions> {
      Option<bool> enable_inliner{*this, "enable-inliner",
                                  llvm::cl::desc("Enable inliner."),
                                  llvm::cl::init(false)};
      Option<bool> form_clusters{*this, "form-clusters",
                                 llvm::cl::desc("Enable Cluster Formation pass."),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

        //     post inlining, the function will be dead and eliminated from the IR.
        //     So there won't be any code duplication.
        // plus the function caller op can be replaced by inlined ops.
        return !wouldBeCloned || TensorFlowDialect::CanDuplicate(op);
      }
    
      //===--------------------------------------------------------------------===//
      // Transformation Hooks
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/net/udpsock.go

    	// This function is designed to allow the caller to control the lifetime
    	// of the returned *UDPAddr and thereby prevent an allocation.
    	// See https://blog.filippo.io/efficient-go-apis-with-the-inliner/.
    	// The real work is done by readFromUDP, below.
    	return c.readFromUDP(b, &UDPAddr{})
    }
    
    // readFromUDP implements ReadFromUDP.
    func (c *UDPConn) readFromUDP(b []byte, addr *UDPAddr) (int, *UDPAddr, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 16:58:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top