Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 168 for getIPs (0.65 sec)

  1. src/go/parser/error_test.go

    	fset.Iterate(func(f *token.File) bool {
    		if f.Name() == filename {
    			if file != nil {
    				panic(filename + " used multiple times")
    			}
    			file = f
    		}
    		return true
    	})
    	return file
    }
    
    func getPos(fset *token.FileSet, filename string, offset int) token.Pos {
    	if f := getFile(fset, filename); f != nil {
    		return f.Pos(offset)
    	}
    	return token.NoPos
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 19:47:49 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/analysis/tensor_array_side_effect_analysis.cc

      }
    
      return true;
    }
    
    TensorArraySideEffectAnalysis::TensorArraySideEffectAnalysis(
        mlir::ModuleOp module) {
      for (auto func_op : module.getOps<mlir::func::FuncOp>()) {
        if (FunctionContainsOnlyNoSideEffectOpOrTensorArrayOp(func_op)) {
          set_.insert(func_op);
        }
      }
    }
    
    }  // namespace tfrt_compiler
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 16 01:49:07 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc

      // Iterates over all functions within the module to (1) create caller-callee
      // map, and (2) initialize function worklist with functions referenced from
      // device cluster ops.
      for (auto func : module.getOps<func::FuncOp>()) {
        for (auto user : symbol_map.getUsers(func)) {
          // Populate caller-callee map.
          if (func::FuncOp caller = user->getParentOfType<func::FuncOp>())
            caller_callee_map[caller].insert(func);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:01:13 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

      llvm::SmallVector<TF::VarHandleOp, 4> variables;
      // Capture list of all read only variables.
      for (auto func : module.getOps<func::FuncOp>()) {
        if (func == session_init_func) continue;
        for (auto var_handle_op : func.getOps<TF::VarHandleOp>()) {
          if (!analyzer.IsPotentiallyWritten(var_handle_op.getResource())) {
            variables.push_back(var_handle_op);
          }
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/cover.go

    func initCoverProfile() {
    	if testCoverProfile == "" || testC {
    		return
    	}
    	if !filepath.IsAbs(testCoverProfile) {
    		testCoverProfile = filepath.Join(testOutputDir.getAbs(), testCoverProfile)
    	}
    
    	// No mutex - caller's responsibility to call with no racing goroutines.
    	f, err := os.Create(testCoverProfile)
    	if err != nil {
    		base.Fatalf("%v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

      const FunctionNameMatcher matcher(spec.matcher().function_name());
      // Iterate over all XlaCallModuleOp in all FuncOps.
      for (auto func : module_op.getOps<func::FuncOp>()) {
        for (auto xla_call_module_op : func.getOps<TF::XlaCallModuleOp>()) {
          if (!matcher.Match(xla_call_module_op)) continue;
    
          // Set the text representation of `Method` to matched
          // `TF::XlaCallModuleOp`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

      if (shared_name.empty()) return false;
    
      for (func::FuncOp init_func_op :
           tf_saved_model::GetInitializerFunctions(module_op)) {
        for (Operation& op : init_func_op.getBody().getOps()) {
          StringRef other_shared_name = GetSharedName(&op);
          if (IsHashTableOp(&op) && other_shared_name == shared_name) {
            return true;
          }
        }
      }
      return false;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/insert_call_once_op.cc

    void InsertCallOnceOpFromSessionInitializerPass::runOnOperation() {
      ModuleOp module = getOperation();
    
      for (func::FuncOp init_func_op :
           tf_saved_model::GetInitializerFunctions(module)) {
        for (auto func : module.getOps<func::FuncOp>()) {
          auto dict_attr =
              func->getAttrOfType<mlir::DictionaryAttr>("tf.entry_function");
          if (!dict_attr) continue;
    
          OpBuilder builder(func.getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BlockPointer.java

        }
    
        private final long pos;
    
        private BlockPointer(long pos) {
            this.pos = pos;
        }
    
        public boolean isNull() {
            return pos < 0;
        }
    
        public long getPos() {
            return pos;
        }
    
        @Override
        public String toString() {
            return String.valueOf(pos);
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

        if (!main_func) continue;
    
        SymbolTable symbol_table(module_op);
        for (auto call_op : main_func.getOps<TF::PartitionedCallOp>()) {
          func_ops.push_back(dyn_cast_or_null<func::FuncOp>(symbol_table.lookup(
              mlir::cast<FlatSymbolRefAttr>(call_op.getFAttr()).getValue())));
        }
        for (auto call_op : main_func.getOps<TF::StatefulPartitionedCallOp>()) {
          func_ops.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top