Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for test_func (1.41 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

    using mlir::Value;
    using mlir::ValueRange;
    using mlir::WalkResult;
    using mlir::func::FuncOp;
    using mlir::func::ReturnOp;
    
    constexpr char kDeviceAttr[] = "device";
    constexpr char kHostFunctionAttr[] = "host_func";
    constexpr char kXlaMapOutsideCompilationAttr[] = "_xla_map_outside_compilation";
    constexpr char kXlaOutsideCompilationAttr[] = "_xla_outside_compilation";
    
    #define GEN_PASS_DEF_EXTRACTOUTSIDECOMPILATIONPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    	}
    }
    
    // tryTimeouts runs testFunc with increasing timeouts. Test passes on first success,
    // and fails if all timeouts fail.
    func tryTimeouts(t *testing.T, testFunc func(timeout time.Duration) error) {
    	tries := []time.Duration{250 * time.Millisecond, 500 * time.Millisecond, 1 * time.Second}
    	for i, timeout := range tries {
    		err := testFunc(timeout)
    		if err == nil {
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. src/cmd/internal/testdir/testdir_test.go

    		return true
    	}
    
    	if name == ctxt.GOOS || name == ctxt.GOARCH || name == "gc" {
    		return true
    	}
    
    	if ctxt.noOptEnv && name == "gcflags_noopt" {
    		return true
    	}
    
    	if name == "test_run" {
    		return true
    	}
    
    	return false
    }
    
    // goGcflags returns the -gcflags argument to use with go build / go run.
    // This must match the flags used for building the standard library,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. src/reflect/all_test.go

    // implicit padding between arguments.
    func dummy(b byte, c int, d byte, e two, f byte, g float32, h byte) (i byte, j int, k byte, l two, m byte, n float32, o byte) {
    	return b, c, d, e, f, g, h
    }
    
    func TestFunc(t *testing.T) {
    	ret := ValueOf(dummy).Call([]Value{
    		ValueOf(byte(10)),
    		ValueOf(20),
    		ValueOf(byte(30)),
    		ValueOf(two{40, 50}),
    		ValueOf(byte(60)),
    		ValueOf(float32(70)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  5. src/cmd/go/alldocs.go

    //	module-auth     module authentication using go.sum
    //	packages        package lists and patterns
    //	private         configuration for downloading non-public code
    //	testflag        testing flags
    //	testfunc        testing functions
    //	vcs             controlling version control with GOVCS
    //
    // Use "go help <topic>" for more information about that topic.
    //
    // # Start a bug report
    //
    // Usage:
    //
    //	go bug
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

        // CHECK:          "tf_device.cluster"
        // CHECK:            %[[HOST_OUTPUT:[0-9]*]] = "tf._XlaHostComputeMlir"()
        // CHECK-SAME:       host_mlir_module = "module  {\0A  func.func @host_func() -> tensor<?xi32> {\0A    %0 = \22tf.B\22() {_xla_outside_compilation = \22cluster1\22} : () -> tensor<?xi32> loc(#loc1)\0A    return %0 : tensor<?xi32> loc(#loc1)\0A  }
        // CHECK:            "tf.C"(%[[HOST_OUTPUT]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        // CHECK-SAME: tensor<2xf32>
        %0 = "tf._XlaHostComputeMlir"(%arg0) {recv_key = "host_compute_channel_recv", send_key = "host_compute_channel_send", tpu_core = 0, host_mlir_module = "module  {\0A  func.func @host_func(%arg0: tensor<*xf32>) -> tensor<*xf32> {\0A    %0 = \22tf.Identity\22(%arg0) {_xla_outside_compilation = \22cluster1\22} : (tensor<*xf32>) -> tensor<*xf32> \0A    return %0 : tensor<*xf32> \0A  } \0A} \0A"} : (tensor<2xf32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        Variadic<TF_Tensor>:$init_func_other_args,
        Variadic<TF_Tensor>:$next_func_other_args,
        Variadic<TF_Tensor>:$finalize_func_other_args,
    
        SymbolRefAttr:$init_func,
        SymbolRefAttr:$next_func,
        SymbolRefAttr:$finalize_func,
        ConfinedAttr<TypeArrayAttr, [ArrayMinCount<1>]>:$output_types,
        ConfinedAttr<TF_ShapeAttrArray, [ArrayMinCount<1>]>:$output_shapes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top