Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,775 for func0 (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/executor_tpuv1_inline_tpu_island.mlir

            %1 = "tf.opB"() : () -> tensor<f32>
            tf_executor.yield %1 : tensor<f32>
          }
          tf_executor.fetch %outputs_0 : tensor<f32>
        }
        func.return %0 : tensor<f32>
      }
    // CHECK-LABEL: func @func2
      func.func @func2(%arg0: tensor<i1>) -> tensor<i1> {
        %0 = tf_executor.graph {
          %outputs, %control = tf_executor.island {
            %1 = "tf.opB"() : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 11:03:04 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/merge_node_with_function.pbtxt

      input: "input"
      input: "input"
      attr {
        key: "T"
        value {
          type: DT_BOOL
        }
      }
    }
    node {
      name: "func0"
      op: "func_name"
      input: "Switch0:1"
    }
    node {
      name: "Merge"
      op: "Merge"
      input: "Switch0:1"
      input: "Switch0"
      input: "^func0"
      attr {
        key: "N"
        value {
          i: 2
        }
      }
      attr {
        key: "T"
        value {
          type: DT_BOOL
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 14 20:47:36 UTC 2021
    - 1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/empty-input-shapes.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir %s
    
    node {
      name: "input"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_BOOL
        }
      }
    }
    
    node {
      name: "func0"
      op: "func_name"
      input: "input"
    }
    
    library {
      function {
        signature {
          name: "func_name"
          input_arg {
            name: "arg0"
            type: DT_BOOL
          }
        }
        ret {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 01 22:43:47 UTC 2021
    - 491 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/executor_tpuv1_outline_tpu_island.mlir

        %2:2 = tf_executor.island(%1#1) {
          %4 = "tf.opB"() : () -> tensor<f32>
          tf_executor.yield %4 : tensor<f32>
        }
        tf_executor.fetch %2#0 : tensor<f32>
      }
      func.return %0 : tensor<f32>
    }
    
    // CHECK-LABEL: @func2
    func.func @func2(%arg0 : tensor<i1>) -> tensor<i1> {
      %0 = tf_executor.graph {
        %1:2 = tf_executor.island {
          %4 = "tf.opB"() : () -> tensor<f32>
          tf_executor.yield %4 : tensor<f32>
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 04 03:54:58 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

      if (GetName(funcs[0]) == GetName(func0)) {
        AssertEqual(func0, funcs[0]);
        AssertEqual(func1, funcs[1]);
      } else {
        AssertEqual(func0, funcs[1]);
        AssertEqual(func1, funcs[0]);
      }
    
      TF_DeleteFunction(funcs[0]);
      TF_DeleteFunction(funcs[1]);
    
      TF_DeleteFunction(func0);
      TF_DeleteFunction(func1);
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/testprog/stacks.go

    	// the rest of the test, they will block.
    	go func() { // func1
    		select {}
    	}()
    	go func() { // func2
    		var c chan int
    		c <- 0
    	}()
    	go func() { // func3
    		var c chan int
    		<-c
    	}()
    	done1 := make(chan bool)
    	go func() { // func4
    		<-done1
    	}()
    	done2 := make(chan bool)
    	go func() { // func5
    		done2 <- true
    	}()
    	c1 := make(chan int)
    	c2 := make(chan int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. test/closure3.dir/main.go

    		}
    		y = func(x int) int { // ERROR "can inline main.func6" "func literal does not escape"
    			return x + 1
    		}
    		if y(40) != 41 {
    			ppanic("y(40) != 41")
    		}
    	}
    
    	{
    		func() { // ERROR "func literal does not escape"
    			y := func(x int) int { // ERROR "can inline main.func7.1" "func literal does not escape"
    				return x + 2
    			}
    			y = func(x int) int { // ERROR "can inline main.func7.2" "func literal does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:29 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. test/range4.go

    package main
    
    var gj int
    
    func yield4x(yield func() bool) {
    	_ = yield() && yield() && yield() && yield()
    }
    
    func yield4(yield func(int) bool) {
    	_ = yield(1) && yield(2) && yield(3) && yield(4)
    }
    
    func yield3(yield func(int) bool) {
    	_ = yield(1) && yield(2) && yield(3)
    }
    
    func yield2(yield func(int) bool) {
    	_ = yield(1) && yield(2)
    }
    
    func testfunc0() {
    	j := 0
    	for range yield4x {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 16:00:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. test/fixedbugs/issue4167.go

    package main
    
    type pa []int
    
    type p int
    
    func (this *pa) func1() (v *p, c int) {
    	for _ = range *this {
    		c++
    	}
    	v = (*p)(&c)
    	return
    }
    
    func (this *pa) func2() p {
    	return (*p).func3(this.func1())
    }
    
    func (this *p) func3(f int) p {
    	return *this
    }
    
    func (this *pa) func2dots() p {
    	return (*p).func3(this.func1())
    }
    
    func (this *p) func3dots(f ...int) p {
    	return *this
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 876 bytes
    - Viewed (0)
  10. src/crypto/sha1/sha1block_386.s

    	ADDL	DI, e
    
    #define FUNC1(a, b, c, d, e) \
    	MOVL	d, DI; \
    	XORL	c, DI; \
    	ANDL	b, DI; \
    	XORL	d, DI
    
    #define FUNC2(a, b, c, d, e) \
    	MOVL	b, DI; \
    	XORL	c, DI; \
    	XORL	d, DI
    
    #define FUNC3(a, b, c, d, e) \
    	MOVL	b, SI; \
    	ORL	c, SI; \
    	ANDL	d, SI; \
    	MOVL	b, DI; \
    	ANDL	c, DI; \
    	ORL	SI, DI
    
    #define FUNC4 FUNC2
    
    #define MIX(a, b, c, d, e, const) \
    	ROLL	$30, b; \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top