Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Func1 (0.07 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/tests/fold-constants-to-subgraph.mlir

      %2 = func.call @simple_test(%arg0, %0, %1) {tac.interface_name = "func1"} : (tensor<4x384x32xf32>, tensor<3xi32>, tensor<3xi32>) -> tensor<1x384x32xf32>
      func.return %2 : tensor<1x384x32xf32>
    }
    
    // PARTIAL-LABEL: @simple_test
    func.func @simple_test(%arg0: tensor<4x384x32xf32>, %arg1: tensor<3xi32>, %arg2: tensor<3xi32>) -> tensor<1x384x32xf32> attributes {tac.interface_name = "func1"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. test/inline.go

    }
    
    func q(x int) int { // ERROR "can inline q"
    	foo := func() int { return x * 2 } // ERROR "can inline q.func1" "func literal does not escape"
    	return foo()                       // ERROR "inlining call to q.func1"
    }
    
    func r(z int) int {
    	foo := func(x int) int { // ERROR "can inline r.func1" "func literal does not escape"
    		return x + z
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. test/newinline.go

    }
    
    func q(x int) int { // ERROR "can inline q"
    	foo := func() int { return x * 2 } // ERROR "can inline q.func1" "func literal does not escape"
    	return foo()                       // ERROR "inlining call to q.func1"
    }
    
    func r(z int) int { // ERROR "can inline r"
    	foo := func(x int) int { // ERROR "can inline r.func1" "func literal does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy

            given:
            sourceFile << """
                #define FUNC1(X) X
                #define FUNC2(X) (X)
                #define ARGS ("hello.h")
    
                #define HEADER_(X) X
                #define HEADER(X) HEADER_(FUNC1 FUNC2 X)
    
                #include HEADER(ARGS) // replaced by FUNC1 FUNC2 ("hello.h") then FUNC1 ("hello.h")
            """
    
            expect:
            resolve() == [header]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  5. src/runtime/callers_test.go

    	// Make sure we don't have any extra frames on the stack (due to
    	// open-coded defer processing)
    	want := []string{"runtime.Callers", "runtime_test.TestCallersDoublePanic.func1.1",
    		"runtime.gopanic", "runtime_test.TestCallersDoublePanic.func1", "runtime.gopanic", "runtime_test.TestCallersDoublePanic"}
    
    	defer func() {
    		defer func() {
    			pcs := make([]uintptr, 20)
    			pcs = pcs[:runtime.Callers(0, pcs)]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

          /*saver_def=*/std::nullopt,
          /*function_aliases=*/{{"func1", "alias1"}, {"func2", "alias2"}},
          /*asset_file_defs=*/{});
      ASSERT_THAT(exported_model.function_aliases(), SizeIs(2));
      EXPECT_TRUE(exported_model.function_aliases().contains("func1"));
      EXPECT_THAT(exported_model.function_aliases().at("func1"), StrEq("alias1"));
      EXPECT_TRUE(exported_model.function_aliases().contains("func2"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/embedding_pipelining.mlir

        return
      }
      // Make sure func1 and func2 use the original resource variable and not the result of @broken_func.
      // CHECK: func.func private @non_tpu
      // CHECK: {{.*%0 = \"tf.StatefulPartitionedCall\"\(%arg0\).*f = @broken_func.*}}
      // CHECK: {{.*StatefulPartitionedCall\"\(%arg0\).*f = @func1.*}}
      // CHECK: {{.*StatefulPartitionedCall\"\(%arg0\).*f = @func2.*}}
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 33.1K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/tests/go122-annotations-stress.test

    String id=123
    	data="fmt.Sprintf"
    String id=124
    	data="main.do.func1.1"
    String id=125
    	data="runtime/trace.Start"
    String id=126
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace/trace.go"
    String id=127
    	data="main.do.func1"
    String id=128
    	data="runtime/trace.WithRegion"
    String id=129
    	data="main.do.func1.1.1"
    String id=130
    	data="time.Sleep"
    String id=131
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  9. src/crypto/sha1/sha1block_amd64.s

    	ADDL	R9, e; \
    	MOVL	a, R8; \
    	ROLL	$5, R8; \
    	LEAL	const(e)(R10*1), e; \
    	ADDL	R8, e
    
    #define ROUND1(a, b, c, d, e, index) \
    	LOAD(index); \
    	FUNC1(a, b, c, d, e); \
    	MIX(a, b, c, d, e, 0x5A827999)
    
    #define ROUND1x(a, b, c, d, e, index) \
    	SHUFFLE(index); \
    	FUNC1(a, b, c, d, e); \
    	MIX(a, b, c, d, e, 0x5A827999)
    
    #define ROUND2(a, b, c, d, e, index) \
    	SHUFFLE(index); \
    	FUNC2(a, b, c, d, e); \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  10. src/go/printer/testdata/expressions.input

    		   s[i].match[0] < pos {	// earlier match already going; leftmost wins
    		   	return s
    		 }
    	}
    }
    
    func (self *T) foo(x int) *T { return self }
    
    func _() { module.Func1().Func2() }
    
    func _() {
    	_ = new(T).
    		foo(1).
    			foo(2).
    		foo(3)
    
    	_ = new(T).
    	foo(1).
    	foo(2). // inline comments
    	foo(3)
    
    	_ = new(T).foo(1).foo(2).foo(3)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.1K bytes
    - Viewed (0)
Back to top