Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,124 for func4 (0.06 sec)

  1. tensorflow/compiler/mlir/quantization/common/func.cc

    // Returns true iff the function's symbol is public.
    bool IsPublicFuncOp(func::FuncOp func_op) {
      return SymbolTable::getSymbolVisibility(&*func_op) ==
             SymbolTable::Visibility::Public;
    }
    
    }  // namespace
    
    func::FuncOp FindMainFuncOp(ModuleOp module_op) {
      if (const auto main_func_op = module_op.lookupSymbol<func::FuncOp>(
              kImportModelDefaultGraphFuncName);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 19 06:55:11 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/func.go

    }
    func (f *Func) ConstInt32(t *types.Type, c int32) *Value {
    	return f.constVal(OpConst32, t, int64(c), true)
    }
    func (f *Func) ConstInt64(t *types.Type, c int64) *Value {
    	return f.constVal(OpConst64, t, c, true)
    }
    func (f *Func) ConstFloat32(t *types.Type, c float64) *Value {
    	return f.constVal(OpConst32F, t, int64(math.Float64bits(float64(float32(c)))), true)
    }
    func (f *Func) ConstFloat64(t *types.Type, c float64) *Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/func.go

    // (Call typecheck.Func instead.)
    func tcFunc(n *ir.Func) {
    	if base.EnableTrace && base.Flag.LowerT {
    		defer tracePrint("tcFunc", n)(nil)
    	}
    
    	if name := n.Nname; name.Typecheck() == 0 {
    		base.AssertfAt(name.Type() != nil, n.Pos(), "missing type: %v", name)
    		name.SetTypecheck(1)
    	}
    }
    
    // tcCall typechecks an OCALL node.
    func tcCall(n *ir.CallExpr, top int) ir.Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/func.h

    #define TENSORFLOW_COMPILER_MLIR_QUANTIZATION_COMMON_FUNC_H_
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    
    namespace mlir::quant {
    
    // Returns a public `func::FuncOp` in `module_op` whose name matches either
    // `main` or `serving_default`. If `func::FuncOps` with both names exist, the
    // function with name "main" takes precedence. Returns null if no such a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 19 06:55:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/tests/go122-annotations.test

    	pc=4544740 func=44 file=42 line=868
    	pc=4538792 func=45 file=42 line=258
    	pc=4814277 func=37 file=36 line=125
    	pc=4815228 func=38 file=31 line=27
    Stack id=22 nframes=3
    	pc=4642148 func=46 file=47 line=81
    	pc=4816326 func=48 file=47 line=87
    	pc=4815941 func=34 file=31 line=50
    Stack id=11 nframes=1
    	pc=4815364 func=38 file=31 line=34
    Stack id=5 nframes=4
    	pc=4547349 func=49 file=50 line=42
    	pc=4538780 func=45 file=42 line=257
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu-multiple-while-body-func.mlir

      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
        "func.return"(%arg0) : (tensor<i32>) -> ()
      }) {sym_name = "main_while_body_4225150", sym_visibility = "private", tf._input_shapes = [#tf_type.shape<>], tf.signature.is_stateful, function_type = (tensor<i32>) -> (tensor<i32>)} : () -> ()
      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc

      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
      pm.addNestedPass<mlir::func::FuncOp>(mlir::createCanonicalizerPass());
    
      EnableIrPrinting(pm, "dump");
    
      constexpr absl::string_view program = R"mlir(
    module{
      func.func @main(%arg0: tensor<10xf32>) -> tensor<10xf32> {
        return %arg0 : tensor<10xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:17:14 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/net/http/main_test.go

    // (all.bash), but as a serial test otherwise. Using t.Parallel isn't
    // compatible with the afterTest func in non-short mode.
    func setParallel(t *testing.T) {
    	if strings.Contains(t.Name(), "HTTP2") {
    		http.CondSkipHTTP2(t)
    	}
    	if testing.Short() {
    		t.Parallel()
    	}
    }
    
    func runningBenchmarks() bool {
    	for i, arg := range os.Args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:49:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/tests/go122-annotations-stress.test

    	pc=4803589 func=114 file=113 line=45
    Stack id=24 nframes=7
    	pc=4634510 func=146 file=116 line=223
    	pc=4634311 func=117 file=118 line=240
    	pc=4633765 func=119 file=118 line=216
    	pc=4633083 func=120 file=118 line=131
    	pc=4764601 func=121 file=122 line=152
    	pc=4765335 func=123 file=122 line=238
    	pc=4804612 func=124 file=113 line=70
    Stack id=43 nframes=2
    	pc=4804022 func=112 file=113 line=67
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
Back to top