Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getRegions (0.21 sec)

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

          op_->getAttrs(), op_->getPropertiesStorage(), op_->getSuccessors(),
          op_->getNumRegions());
      builder.insert(new_op);
    
      // Move regions to the new op.
      for (auto it : llvm::zip(op_->getRegions(), new_op->getRegions())) {
        Region& old_region = std::get<0>(it);
        Region& new_region = std::get<1>(it);
        new_region.takeBody(old_region);
      }
    
      // Insert stores to all written resources.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        // Inline the regions from the old while into the new one, and apply
        // signature conversion to inlined region.
        for (auto it : llvm::zip(op.getRegions(), converted.getRegions())) {
          Region &old_region = *std::get<0>(it);
          Region &new_region = *std::get<1>(it);
    
          Block &entry = old_region.front();
          // Build signature conversion for the region.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      LogicalResult UnifyReplicationInfo(func::FuncOp func) {
        auto new_repl_info =
            builder.getStringAttr(func.getSymName().str() + "_repl_info");
        for (auto& op : func.getRegion().getOps()) {
          if (auto compile_op = llvm::dyn_cast<TF::TPUCompilationResultOp>(op)) {
            UpdateReplicationAttr(compile_op, new_repl_info);
          } else {
            UpdateReplicationAttr(&op, new_repl_info);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  4. pkg/workloadapi/workload.pb.go

    }
    
    // Deprecated: Use Locality.ProtoReflect.Descriptor instead.
    func (*Locality) Descriptor() ([]byte, []int) {
    	return file_workloadapi_workload_proto_rawDescGZIP(), []int{4}
    }
    
    func (x *Locality) GetRegion() string {
    	if x != nil {
    		return x.Region
    	}
    	return ""
    }
    
    func (x *Locality) GetZone() string {
    	if x != nil {
    		return x.Zone
    	}
    	return ""
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
Back to top