Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 70 for getRegion (0.3 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

          if (quantizing_op->getNumRegions() != 0) {
            for (const auto& indexed_regions :
                 llvm::enumerate(quantizing_op->getRegions())) {
              Region& target_region =
                  quantized_op->getRegion(indexed_regions.index());
              IRMapping mapping;
              indexed_regions.value().cloneInto(&target_region, mapping);
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

            op->getLoc(), op->getName(), types, new_operands, op->getAttrs(),
            op->getPropertiesStorage(), {}, /*numRegions=*/2));
    
        for (int i = 0; i < 2; ++i) new_op->getRegion(i).takeBody(op->getRegion(i));
        int new_index = 0;
        for (int op_index = 0, e = op->getNumResults(); op_index < e; ++op_index) {
          if (removed_operand[op_index]) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      }
    }
    
    void WhileRegionOp::getSuccessorRegions(
        RegionBranchPoint point, SmallVectorImpl<RegionSuccessor> &regions) {
      if (!point.isParent() && point == (*this)->getRegion(0)) {
        // 'cond' branches to the body or returns.
        Operation *yield = getCond().front().getTerminator();
        if (yield->getOperands().size() ==
            1 + this->getOperation()->getOperands().size()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  6. 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)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/language/java/DependencyScope.groovy

    package org.gradle.language.java;
    
    enum DependencyScope {
        COMPONENT {
            @Override
            public String getBegin() {
                'dependencies {'
            }
    
            @Override
            public String getEnd() {
                '}'
            }
        },
        API {
            @Override
            public String getBegin() {
                'api { dependencies {'
            }
    
            @Override
            public String getEnd() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc

    // Returns true if the op contains a `CalibrationStatisticsSaverOp`.
    bool ContainCalibrationStatisticsSaverOp(Operation* op) {
      // Check the region for CaseRegionOp, IfRegionOp and WhileRegionOp.
      for (Region& region : op->getRegions()) {
        if (!region.getOps<TF::CalibrationStatisticsSaverOp>().empty()) {
          return true;
        }
      }
    
      SymbolTable symbol_table(op->getParentOfType<ModuleOp>());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. cmd/config-current_test.go

    		t.Fatalf("Init Test config failed")
    	}
    
    	if globalSite.Region() != globalMinioDefaultRegion {
    		t.Errorf("Expecting region `us-east-1` found %s", globalSite.Region())
    	}
    
    	// Set new region and verify.
    	config.SetRegion(globalServerConfig, "us-west-1")
    	site, err := config.LookupSite(
    		globalServerConfig[config.SiteSubSys][config.Default],
    		globalServerConfig[config.RegionSubSys][config.Default],
    	)
    	if err != nil {
    		t.Fatal(err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        Variadic<AnyTensor>:$outputs,
        TFL_Control:$control
      );
    
      let regions = (region SizedRegion<1>:$body);
    
      let extraClassDeclaration = [{
        Block &GetBody() { return getOperation()->getRegion(0).front(); }
        YieldOp GetYield();
        bool WrapsSinglePerfectlyForwardedOp();
      }];
    
      let hasCanonicalizer = 0;
      let hasVerifier = 1;
      let hasFolder = 0;
      let hasCustomAssemblyFormat = 1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top