Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 121 for func_0 (0.7 sec)

  1. src/cmd/compile/internal/types2/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
    - 11K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tf2xla/internal/clustering_bridge_passes.cc

        func_pm.addPass(mlir::TFTPU::CreateTPUHostComputationExpansionPass());
        func_pm.addPass(mlir::TFTPU::CreateTPUUpdateEmbeddingEnqueueOpInputsPass());
      }
    
      // TODO(b/173622615): Once OutsideCompilation is represented by launch op and
      // the remaining passes including Inliner support it, remove this
      // LaunchToDeviceAttributePass. This LaunchToDeviceAttribute pass needs to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 16:09:14 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/func-attr-invalid.mlir

    func.func @main() attributes {tf._implements = #tf_type.func<@symbol>} {
      func.return
    }
    
    // -----
    
    // expected-error@+1 {{expected symbol while parsing tf.func attribute}}
    func.func @main() attributes {tf._implements = #tf_type.func<{}>} {
      func.return
    }
    
    // -----
    
    // expected-error@+1 {{expected empty string or symbol while parsing tf.func attribute}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 06 09:05:45 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc

     private:
      void runOnOperation() override;
    };
    
    void ConvertXlaCallModuleOpToBfloat16Pass::runOnOperation() {
      Operation* func_op = getOperation();
      SymbolTableCollection symbol_table;
      OpBuilder builder(&getContext());
    
      auto result = func_op->walk([&](TF::XlaCallModuleOp op) {
        // Converts the serialized StableHLO module to bfloat16.
        auto result =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc

        return false;
      }
      return true;
    }
    
    void VerifyTFXLALegalization::runOnOperation() {
      Operation* func_op = getOperation();
      ConversionTarget default_conversion_target =
          GetDefaultLegalConversionTargets(getContext(), legalize_chlo_);
    
      bool has_invalid_ops = false;
      func_op->walk([&](Operation* op) {
        if (!IsMhloAndStatic(op)) {
          has_invalid_ops = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops.mlir

      {
        "tf.some_call"() {callee = @f} : () -> ()
        func.return %arg0 : tensor<f32>
      }
    
      func.func private @f() attributes {
        func.return
      }
    
      // Representation for init functions
      // CHECK: func @init
      // CHECK-SAME: exported_names = ["__tf_saved_model_session_initializer"]
      func.func @init(
        %arg0: tensor<!tf_type.string> {tf_saved_model.bound_input = @asset_sym_name},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. 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)
Back to top