Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for func_0 (0.13 sec)

  1. src/internal/trace/trace_test.go

    			t.Fatal("did not see a goroutine in a the region 'special'")
    		}
    	})
    }
    
    func TestTraceGCStress(t *testing.T) {
    	testTraceProg(t, "gc-stress.go", nil)
    }
    
    func TestTraceGOMAXPROCS(t *testing.T) {
    	testTraceProg(t, "gomaxprocs.go", nil)
    }
    
    func TestTraceStacks(t *testing.T) {
    	testTraceProg(t, "stacks.go", func(t *testing.T, tb, _ []byte, stress bool) {
    		type frame struct {
    			fn   string
    			line int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/handling-errors.md

    não **retorna** (return) o `HTTPException`, você lança o (raise) no seu código.
    
    Isso também significa que, se você está escrevendo uma função de utilidade, a qual você está chamando dentro da sua função de operações de caminhos, e você lança o `HTTPException` dentro da função de utilidade, o resto do seu código não será executado dentro da função de operações de caminhos. Ao contrário, o `HTTPException` irá finalizar a requisição no mesmo instante e enviará o erro HTTP oriundo do `HTTPException`...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

      // functions and avoid converting ConstOps inside initializer functions.
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        // Do not unfreeze constants under these functions.
        if (func_op.getSymName().contains("while_body")) continue;
        if (func_op.getSymName().contains("while_cond")) continue;
        absl::c_copy_if(func_op.getOps<TF::ConstOp>(),
                        std::back_inserter(target_const_ops),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

        auto module_op = parseSourceString<ModuleOp>(program, ctx_.get());
        CHECK(module_op);
        auto func_op = llvm::dyn_cast<func::FuncOp>(
            *module_op->getBodyRegion().getOps().begin());
        if (!func_op) {
          return absl::InternalError("Input MLIR must have only 1 func");
        }
        if (arguments.size() != func_op.getNumArguments()) {
          return absl::InternalError("Input argument has wrong size");
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  5. src/go/types/subst.go

    		}
    	}
    	return
    }
    
    func (subst *subster) func_(f *Func) *Func {
    	if f != nil {
    		if typ := subst.typ(f.typ); typ != f.typ {
    			return substFunc(f, typ)
    		}
    	}
    	return f
    }
    
    func substFunc(f *Func, typ Type) *Func {
    	copy := *f
    	copy.typ = typ
    	copy.origin = f.Origin()
    	return &copy
    }
    
    func (subst *subster) funcList(in []*Func) (out []*Func, copied bool) {
    	out = in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

      ModuleOp module = getOperation();
      auto& side_effect_analysis = getAnalysis<TF::SideEffectAnalysis>();
      SmallVector<func::FuncOp> funcs(module.getOps<func::FuncOp>());
      int func_count = -1;
      for (auto func : funcs) {
        const auto& info = side_effect_analysis.GetAnalysisForFunc(func);
        for (auto& block : func) {
          OpBuilder builder = OpBuilder::atBlockBegin(&block);
          RaiseTargetSubgraphsForBlock(block, builder, module,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

        // results and arguments.
        llvm::DenseMap<OpValue, int> operand_states_;
        llvm::DenseMap<OpValue, int> result_states_;
      };
    
      func::FuncOp func_;
    
      DeviceTarget target_spec_;
    
      StatesManager states_manager_;
    };
    
    }  // namespace quant
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      // Quantizer via the tf_quant.composite_function UnitAttr attached to
      // func ops. We remove this attribute as this interferes with VHLO conversion.
      // Remove this temporary hack.
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        func_op->removeAttr(kFusedFunctionAttr);
      }
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      void runOnOperation() override;
    };
    
    // Updates func's type according to its current arguments and return values.
    void UpdateFuncType(func::FuncOp func) {
      llvm::SmallVector<Type, 8> arg_types;
      for (auto arg : func.getArguments()) arg_types.push_back(arg.getType());
      func.setType(
          FunctionType::get(func.getContext(), arg_types,
                            func.front().getTerminator()->getOperandTypes()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  10. src/runtime/race.go

    var racearenastart uintptr
    var racearenaend uintptr
    
    func racefuncenter(callpc uintptr)
    func racefuncenterfp(fp uintptr)
    func racefuncexit()
    func raceread(addr uintptr)
    func racewrite(addr uintptr)
    func racereadrange(addr, size uintptr)
    func racewriterange(addr, size uintptr)
    func racereadrangepc1(addr, size, pc uintptr)
    func racewriterangepc1(addr, size, pc uintptr)
    func racecallbackthunk(uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top