- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 117 for cfunc (0.06 sec)
-
src/cmd/compile/internal/syntax/parser.go
} } // usage: defer p.trace(msg)() func (p *parser) trace(msg string) func() { p.print(msg + " (") const tab = ". " p.indent = append(p.indent, tab...) return func() { p.indent = p.indent[:len(p.indent)-len(tab)] if x := recover(); x != nil { panic(x) // skip print_trace } p.print(")") } } func (p *parser) print(msg string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
return %cluster : tensor<i32> } ``` will be transformed into: ```mlir func @computation(%arg0: tensor<i32>) -> tensor<i32> { %cluster = "tf_device.cluster_func"(%arg0) {func = @_func} : (tensor<i32>) -> tensor<i32> return %cluster : tensor<i32> } func @_func(%arg0: tensor<i32>) -> tensor<i32> { %identity = "tf.Identity"(%arg0) : (tensor<i32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
// Run multiple times to shake out data races t.Run("goroutine launches", testLaunches) } } func BenchmarkGoroutine(b *testing.B) { withIdle := func(n int, fn func(b *testing.B)) func(b *testing.B) { return func(b *testing.B) { c := make(chan int) var ready, done sync.WaitGroup defer func() { close(c) done.Wait() }() for i := 0; i < n; i++ { ready.Add(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy
'a( a b c )' | 'a' | [tokens('a b c')] 'a( a b, c d + f )' | 'a' | [tokens('a b'), tokens('c d + f')] '_func(1+2)' | '_func' | [tokens('1+2')] 'a(A, B(1+2))' | 'a' | [token('A'), expression('B(1+2)')]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 34.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md
`cluster_func`. For example, given the following `cluster_func` wrapping `func`: ```mlir func @test(%arg0: tensor<*xi32>) { "tf_device.cluster_func"(%arg0) { func = @func, step_marker_location = ""} : (tensor<*xi32>) -> tensor<*xi32> return } func @func(%arg0: tensor<*xi32>) -> tensor<*xi32> { %0 = "tf.XlaSharding"(%arg0) {_XlaSharding = "\01\02\03",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 02 02:26:39 UTC 2023 - 96.4K bytes - Viewed (0) -
src/cmd/compile/internal/walk/walk.go
call.SetType(t) return walkExpr(call, init).(*ir.CallExpr) } func mkcall(name string, t *types.Type, init *ir.Nodes, args ...ir.Node) *ir.CallExpr { return vmkcall(typecheck.LookupRuntime(name), t, init, args) } func mkcallstmt(name string, args ...ir.Node) ir.Node { return mkcallstmt1(typecheck.LookupRuntime(name), args...) } func mkcall1(fn ir.Node, t *types.Type, init *ir.Nodes, args ...ir.Node) *ir.CallExpr {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/covdata/dump.go
fmt.Printf(" *\t%s\n", strings.Join(args, " ")) fmt.Printf(" */\n") } } func (d *dstate) BeginPod(p pods.Pod) { d.mm = make(map[pkfunc]decodecounter.FuncPayload) } func (d *dstate) EndPod(p pods.Pod) { if d.cmd == debugDumpMode { d.cm.ResetModeAndGranularity() } } func (d *dstate) BeginCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:57 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/go/go_test.go
tg.tempFile("src/t/t2/t2_test.go", "package t\nimport _ \"p1\"\nimport \"testing\"\nfunc Test2(*testing.T) {}\n") tg.tempFile("src/t/t3/t3_test.go", "package t\nimport \"p1\"\nimport \"testing\"\nfunc Test3(t *testing.T) {t.Log(p1.X)}\n") tg.tempFile("src/t/t4/t4_test.go", "package t\nimport \"p2\"\nimport \"testing\"\nfunc Test4(t *testing.T) {t.Log(p2.X)}")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/cmd/compile/internal/staticdata/data.go
var ( funcsymsmu sync.Mutex // protects funcsyms and associated package lookups (see func funcsym) funcsyms []*ir.Name // functions that need function value symbols ) // FuncLinksym returns n·f, the function value symbol for n. func FuncLinksym(n *ir.Name) *obj.LSym { if n.Op() != ir.ONAME || n.Class != ir.PFUNC { base.Fatalf("expected func name: %v", n) } s := n.Sym()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:08:50 UTC 2023 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.cc
const AttrValue& attr_value = name_attr_pair.second; if (attr_value.value_case() == AttrValue::kFunc) { result.push_back(attr_value.func()); } else if (attr_value.value_case() == AttrValue::kList) { result.insert(result.end(), attr_value.list().func().begin(), attr_value.list().func().end()); } } return result; } enum class Direction { kForward, kBackward };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0)