Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 624 for walkIf (0.12 sec)

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

      // All operations.
      llvm::DenseSet<Operation*> all_operations;
    
      // All results of all ops.
      llvm::DenseSet<Value> all_internal_results;
      for (Operation* outer : ops) {
        outer->walk([&](Operation* op) {
          all_operations.insert(op);
          for (Value result : op->getResults()) {
            all_internal_results.insert(result);
          }
          // We treat block arguments of inner blocks as "results", too, in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-walkGraph/groovy/settings.gradle

    rootProject.name = 'walk-dependency-graph'...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 43 bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/transforms/ClasspathElementTransformTest.groovy

                this.factoryMaker = factoryMaker
            }
    
            ClasspathElementTransformFactory createFactory(ClasspathBuilder builder, ClasspathWalker walker) {
                return factoryMaker.apply(builder, walker)
            }
    
            @Override
            String toString() {
                return super.toString().toLowerCase(Locale.ENGLISH)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 14 09:24:02 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-dump.go

    			decoded = v
    		}
    	}
    	setflags, err := walk("", "", decoded)
    	if err != nil {
    		return []string{}, err
    	}
    	sort.Strings(setflags)
    	return setflags, nil
    }
    
    func walk(path, separator string, obj any) ([]string, error) {
    	switch v := obj.(type) {
    	case map[string]any:
    		accum := make([]string, 0)
    		for key, vv := range v {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ir/mini.go

    func (n *miniNode) SetTypecheck(x uint8) {
    	if x > 2 {
    		panic(fmt.Sprintf("cannot SetTypecheck %d", x))
    	}
    	n.bits.set2(miniTypecheckShift, x)
    }
    
    func (n *miniNode) Walked() bool     { return n.bits&miniWalked != 0 }
    func (n *miniNode) SetWalked(x bool) { n.bits.set(miniWalked, x) }
    
    // Empty, immutable graph structure.
    
    func (n *miniNode) Init() Nodes { return Nodes{} }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 22:09:44 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.cc

    #include "tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h"
    
    namespace mlir {
    namespace TFL {
    
    void ConvertTFLQuantOpsToMlirQuantOps(func::FuncOp func) {
      OpBuilder b(func);
      func.walk([&](Operation* op) {
        b.setInsertionPoint(op);
        if (auto dq = llvm::dyn_cast<DequantizeOp>(op)) {
          auto dcast = b.create<quantfork::DequantizeCastOp>(
              dq.getLoc(), dq.getOutput().getType(), dq.getInput());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 02:50:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/atomic/atomic.go

    				checkAtomicAddAssignment(pass, n.Lhs[i], call)
    			}
    		}
    	})
    	return nil, nil
    }
    
    // checkAtomicAddAssignment walks the atomic.Add* method calls checking
    // for assigning the return value to the same variable being used in the
    // operation
    func checkAtomicAddAssignment(pass *analysis.Pass, left ast.Expr, call *ast.CallExpr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc

    // function, so all stablehlo functions are of no use in the top-level module.
    //
    // Walk the module to find functions with `_from_xla_call_module` attribute,
    // and remove them.
    void RemoveSerializedStablehloFunctions(ModuleOp module) {
      module.walk([&](func::FuncOp f) {
        if (f->hasAttr(kFromXlaCallModuleAttrName)) {
          f->erase();
        }
      });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationTreeQueries.groovy

            parent.children.each {
                walk(it) {
                    if (predicate.isSatisfiedBy(it)) {
                        matches << it
                    }
                }
            }
            matches
        }
    
        List<BuildOperationRecord.Progress> progress(Class<?> clazz) {
            return all().collect { it.progress(clazz) }.flatten()
        }
    
        void walk(Action<? super BuildOperationRecord> action) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

          *mlir_module_, DeviceType(DEVICE_TPU_XLA_JIT)));
    
      FuncOp main = mlir_module_->lookupSymbol<FuncOp>("main");
      ASSERT_TRUE(main);
    
      bool has_cluster_op = false;
      main.walk([&](mlir::tf_device::ClusterOp) {
        has_cluster_op = true;
        return mlir::WalkResult::interrupt();
      });
    
      EXPECT_FALSE(has_cluster_op);
    }
    
    TEST_F(LowerClusterToRuntimeOpsTest, LowersClusterOpsCPU) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top