Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for region (0.39 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/replicate_invariant_op_hoisting.cc

        shape_op.erase();
      }
    }
    
    // Checks if op and inner op operands are all replicate invariant.
    bool IsOpReplicateInvariant(Region* replicate_region, Operation* op) {
      auto ancestor_of_replicate = [&](Region* region) {
        return region && region->isProperAncestor(replicate_region);
      };
    
      for (Value operand : op->getOperands())
        if (!ancestor_of_replicate(operand.getParentRegion())) return false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc

    };
    
    // Assign all ops in region with specified device from launch.
    LogicalResult AssignDevicesInRegion(const Dialect* tf_dialect,
                                        tf_device::LaunchOp launch,
                                        Region& region) {
      auto parallel_group_attr =
          launch->getAttrOfType<StringAttr>(TF::kParallelExecAnnotation);
      auto result = region.walk([&](Operation* op) -> WalkResult {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

        // Update the regions. The dialect conversion framework wants new regions to
        // be created and updated, rather than updating the old op. Thus we use an
        // OperationState so we can add regions to the new op.
        OperationState state(op->getLoc(), op->getName().getStringRef(), operands,
                             new_results, op->getAttrs(), op->getSuccessors());
        for (Region& region : op->getRegions()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/pin_ops_with_side_effects.cc

            control_tokens);
        Region region;
        Block *new_block = new Block;
        region.push_back(new_block);
        builder.setInsertionPointToEnd(&region.front());
        Operation *inner_op = builder.clone(*op);
        builder.create<YieldOp>(loc, inner_op->getResults());
        outer_op.getBody().takeBody(region);
        // Careful: We can't use outer_op.getResults(), because that also includes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

      }
      return device_costs;
    }
    
    flatbuffers::Offset<SubgraphMetadata> CreateSubgraphMetadata(
        const std::map<std::string, uint8_t>& hardware_map, mlir::Region* Region,
        flatbuffers::FlatBufferBuilder* builder) {
      auto& block = Region->front();
      int index = 0;
      std::vector<flatbuffers::Offset<tflite::OpMetadata>> ops;
      for (auto& inst : block) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

    #include "mlir/IR/DialectImplementation.h"  // from @llvm-project
    #include "mlir/IR/OpDefinition.h"  // from @llvm-project
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/IR/Region.h"  // from @llvm-project
    #include "mlir/IR/TypeUtilities.h"  // from @llvm-project
    #include "mlir/IR/Value.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. cmd/config-versions.go

    type serverConfigV33 struct {
    	quick.Config `json:"-"` // ignore interfaces
    
    	Version string `json:"version"`
    
    	// S3 API configuration.
    	Credential auth.Credentials `json:"credential"`
    	Region     string           `json:"region"`
    	Worm       config.BoolFlag  `json:"worm"`
    
    	// Storage class configuration
    	StorageClass storageclass.Config `json:"storageclass"`
    
    	// Notification queue configuration.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  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