Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,782 for _func (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/compile/internal/wasm/ssa.go

    		p = pp.Append(p, wasm.AI64Store, 0, 0, 0, obj.TYPE_CONST, 0, off+i)
    	}
    
    	return p
    }
    
    func ginsnop(pp *objw.Progs) *obj.Prog {
    	return pp.Prog(wasm.ANop)
    }
    
    func ssaMarkMoves(s *ssagen.State, b *ssa.Block) {
    }
    
    func ssaGenBlock(s *ssagen.State, b, next *ssa.Block) {
    	switch b.Kind {
    	case ssa.BlockPlain:
    		if next != b.Succs[0].Block() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  5. src/sort/gen_sort_variants.go

    			Funcs: template.FuncMap{
    				"Less": func(name, i, j string) string {
    					return fmt.Sprintf("%s.Less(%s, %s)", name, i, j)
    				},
    				"Swap": func(name, i, j string) string {
    					return fmt.Sprintf("%s.Swap(%s, %s)", name, i, j)
    				},
    			},
    		},
    		Variant{
    			Name:       "func",
    			Path:       "zsortfunc.go",
    			Package:    "sort",
    			Imports:    "",
    			FuncSuffix: "_func",
    			TypeParam:  "",
    			ExtraParam: "",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/scanner_test.go

    	{_Const, "const", 0, 0},
    	{_Continue, "continue", 0, 0},
    	{_Default, "default", 0, 0},
    	{_Defer, "defer", 0, 0},
    	{_Else, "else", 0, 0},
    	{_Fallthrough, "fallthrough", 0, 0},
    	{_For, "for", 0, 0},
    	{_Func, "func", 0, 0},
    	{_Go, "go", 0, 0},
    	{_Goto, "goto", 0, 0},
    	{_If, "if", 0, 0},
    	{_Import, "import", 0, 0},
    	{_Interface, "interface", 0, 0},
    	{_Map, "map", 0, 0},
    	{_Package, "package", 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    func TestB(t *testing.T) {
    	if BFunc() == 1010101 {
    		t.Fatalf("bad!")
    	}
    }
    -- c/c.go --
    package c
    
    var G int
    
    func CFunc(x, y int) int {
    	G += x
    	G -= y
    	return x + y
    }
    -- c/c_test.go --
    package c
    
    import "testing"
    
    func TestC(t *testing.T) {
    	if CFunc(10, 10) == 1010101 {
    		t.Fatalf("bad!")
    	}
    }
    -- d/d.go --
    package d
    
    const FortyTwo = 42
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/pcln.go

    //	   filename[0]
    //	   filename[1]
    //
    // Looking up a filename then becomes:
    //  0. Given a func, and filename index [K]
    //  1. Get Func.CUIndex:       M := func.cuOffset
    //  2. Find filename offset:   fileOffset := runtime.cutab[M+K]
    //  3. Get the filename:       getcstring(runtime.filetab[fileOffset])
    func (state *pclntab) generateFilenameTabs(ctxt *Link, compUnits []*sym.CompilationUnit, funcs []loader.Sym) []uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/cover_coverpkg_with_init.txt

    import (
    	"M/a"
    	"M/b"
    )
    
    func MFunc() string {
    	return "42"
    }
    
    func M2Func() int {
    	return a.AFunc() + b.BFunc()
    }
    
    func init() {
    	println("package 'main' init")
    }
    
    func main() {
    	println(a.AFunc() + b.BFunc())
    }
    -- main/main_test.go --
    package main
    
    import "testing"
    
    func TestMain(t *testing.T) {
    	if MFunc() != "42" {
    		t.Fatalf("bad!")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 12:33:44 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    }
    
    func init() {
    	println("package 'main' init")
    }
    
    func main() {
    	println(a.AFunc() + b.BFunc())
    }
    -- main/main_test.go --
    package main
    
    import "testing"
    
    func TestMain(t *testing.T) {
    	if MFunc() != "42" {
    		t.Fatalf("bad!")
    	}
    	if M2Func() != 0 {
    		t.Fatalf("also bad!")
    	}
    }
    -- n/n.go --
    package n
    
    type N int
    -- onlytest/mumble_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 17:02:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top