Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for getRegion (0.16 sec)

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

      StringRef dialect = ops[0]->getName().getDialectNamespace();
      OpBuilder builder(context);
      // Every ModuleOp has at least one region and one block.
      Block* first_block = &module->getRegion(0).front();
      builder.setInsertionPointToEnd(first_block);
      auto func = builder.create<mlir::func::FuncOp>(
          ops[0]->getLoc(), dialect.str() + std::to_string(function_id),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/merge_fusion_with_dequantize.cc

        if (!func_op) return failure();
        // The quantized fusion should have requantize and return ops at the end.
        auto return_op = dyn_cast_or_null<func::ReturnOp>(
            func_op.getRegion().getBlocks().front().getTerminator());
        if (!return_op) return failure();
        auto req_op = llvm::dyn_cast_or_null<mlir::stablehlo::UniformQuantizeOp>(
            return_op.getOperands()[0].getDefiningOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi

        def __init__(self, *args, **kwargs) -> None: ...
    
    class Operation:
        def __init__(self, *args, **kwargs) -> None: ...
        def dump(self) -> None: ...
        def getNumResults(self) -> int: ...
        def getRegion(self, arg0: int) -> Region: ...
        def getResult(self, arg0: int) -> OpResult: ...
    
    class OperationState:
        def __init__(self, arg0: Location, arg1: str) -> None: ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 09 17:10:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc

      for (int i = 0; i < op->getNumRegions(); ++i) {
        state.addRegion();
      }
      Operation* new_op = builder.create(state);
      for (const auto& indexed_regions : llvm::enumerate(op->getRegions())) {
        Region& region = op->getRegion(indexed_regions.index());
        IRMapping mapping;
        indexed_regions.value().cloneInto(&region, mapping);
      }
      int new_position = 0;
      for (auto result : op->getResults()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.cc

        int new_idx = child_idx >= cluster_idx ? child_idx + num_cores_per_replica
                                               : child_idx;
        new_parallel_execute->getRegions()[new_idx].takeBody(
            old_parallel_execute.getRegions()[old_idx]);
      }
    
      return cluster_idx;
    }
    
    mlir::tf_device::LaunchOp WrapOpInLaunch(mlir::OpBuilder* builder,
                                             mlir::Location loc,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 13 03:57:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. internal/config/legacy.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package config
    
    // One time migration code section
    
    // SetRegion - One time migration code needed, for migrating from older config to new for server Region.
    func SetRegion(c Config, name string) {
    	if name == "" {
    		return
    	}
    	c[RegionSubSys][Default] = KVS{
    		KV{
    			Key:   RegionName,
    			Value: name,
    		},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Dec 19 20:27:06 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  8. internal/event/config.go

    		if err := queue.Validate(region, targetList); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    // SetRegion - sets region to all queue configuration.
    func (conf *Config) SetRegion(region string) {
    	for i := range conf.QueueList {
    		conf.QueueList[i].SetRegion(region)
    	}
    }
    
    // ToRulesMap - converts all queue configuration to RulesMap.
    func (conf *Config) ToRulesMap() RulesMap {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/test_resource_alias_analysis.cc

          }
        };
    
        // Assign a unique ID to each value seen in this function.
        func.walk([&](Operation* op) {
          // For all attached regions, assign ID to the region arguments.
          for (Region& region : op->getRegions()) {
            for (auto region_arg : TF::filter_resources(region.getArguments()))
              assign_id(region_arg);
          }
    
          // Assign ID for all results.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. 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)
Back to top