Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 596 for region (0.11 sec)

  1. src/cmd/trace/tasks.go

    		return fmt.Sprintf("%s -> %s", old, new)
    	case trace.EventRegionBegin:
    		return fmt.Sprintf("region %q begin", ev.Region().Type)
    	case trace.EventRegionEnd:
    		return fmt.Sprintf("region %q end", ev.Region().Type)
    	case trace.EventTaskBegin:
    		t := ev.Task()
    		return fmt.Sprintf("task %q (D %d, parent %d) begin", t.Type, t.ID, t.Parent)
    	case trace.EventTaskEnd:
    		return "task end"
    	case trace.EventLog:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/analysis/tf_dataflow.h

        if (auto cast = dyn_cast<TF::CastOp>(op)) {
          this->join(results[0], *operands[0]);
        } else if (auto while_op = dyn_cast<TF::WhileRegionOp>(op)) {
          for (auto &region : while_op->getRegions()) {
            for (auto [arg, value] :
                 llvm::zip(region.getArguments(), while_op->getOperands())) {
              this->join(getLatticeElement(arg), *getLatticeElement(value));
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

     public:
      QuantizeContext(func::FuncOp func, const DeviceTarget &spec);
    
      // Returns all the quant region ops.
      std::vector<quantfork::QuantizeRegionOp> GetAllOps();
    
      // For each quant region op, propagates its quantization parameters according
      // to the kernel specification and also returns the adjacent quant region ops
      // which get the new quantization parameters propagated.
      LogicalResult Handle(quantfork::QuantizeRegionOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.cc

      }
      return success();
    }
    
    // Check if the specified region is a binary reduction function that takes 2
    // inputs and returns the second input. Functions like this are used by update
    // scatter like ops.
    template <>
    LogicalResult MatchBinaryReduceFunction<void>(mlir::Region& function) {
      Block& body = function.front();
      if (body.getNumArguments() != 2) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

    }
    
    // -----
    
    // Check that an empty graph is invalid (it needs a region).
    func.func @empty_graph() {
     "tf_executor.graph" () ({
    // expected-error@-1 {{'tf_executor.graph' op region #0 ('body') failed to verify constraint: region with 1 blocks}}
      }) : () -> ()
      func.return
    }
    
    // -----
    
    // Check that an empty graph is invalid (it needs a region).
    func.func @empty_graph() {
     "tf_executor.graph" () ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

      outlined_func.setPrivate();
    
      // Create function body.
      Block* outlined_func_block = outlined_func.addEntryBlock();
    
      // Replace uses of live-in values within cluster_op region with function
      // arguments.
      Region& op_region = op.getBody();
      for (auto p : llvm::zip(live_ins, outlined_func_block->getArguments())) {
        replaceAllUsesInRegionWith(std::get<0>(p), std::get<1>(p), op_region);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/internal/trace/traceviewer/http.go

    </ul>
    
    <h2>User-defined tasks and regions</h2>
    <p>
      The trace API allows a target program to annotate a <a
      href='https://pkg.go.dev/runtime/trace#Region'>region</a> of code
      within a goroutine, such as a key function, so that its performance
      can be analyzed.
    
      <a href='https://pkg.go.dev/runtime/trace#Log'>Log events</a> may be
      associated with a region to record progress and relevant values.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  8. src/runtime/pprof/vminfo_darwin_test.go

    	// Virtual Memory Map of process 53799 (gopls)
    	// Output report format:  2.4  -64-bit process
    	// VM page size:  16384 bytes
    	//
    	// ==== Non-writable regions for process 53799
    	// REGION TYPE                    START END         [ VSIZE  RSDNT  DIRTY   SWAP] PRT/MAX SHRMOD PURGE    REGION DETAIL
    	// __TEXT                      1029a0000-1033bc000    [ 10.1M  7360K     0K     0K] r-x/rwx SM=COW          /Users/USER/*/gopls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.h

    // set of unique IDs representing the possible resources it could alias.
    //
    // Note that this is not an inter-procedural or inter-regional analysis, i.e.,
    // each function and region are handled separately and cross-function or cross-
    // region aliasing cannot be checked by this analysis.
    class ResourceAliasAnalysis : public detail::PerFunctionAggregateAnalysis<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/runtime/trace/annotation_test.go

    func BenchmarkStartRegion(b *testing.B) {
    	b.ReportAllocs()
    	ctx, task := NewTask(context.Background(), "benchmark")
    	defer task.End()
    
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			StartRegion(ctx, "region").End()
    		}
    	})
    }
    
    func BenchmarkNewTask(b *testing.B) {
    	b.ReportAllocs()
    	pctx, task := NewTask(context.Background(), "benchmark")
    	defer task.End()
    
    	b.RunParallel(func(pb *testing.PB) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 721 bytes
    - Viewed (0)
Back to top