Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for test_func (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/split_into_island_per_op.mlir

          %gen0 = "tf.GeneratorDataset"(%str, %arg0, %arg1, %arg2, %arg3) {
            finalize_func = @__finalize_func_790,
            init_func = @__init_func_530, next_func = @__next_func_680,
            next_func.experimental_ints_on_device = true,
            operandSegmentSizes = array<i32: 2, 2, 1>,
            output_shapes = [#tf_type.shape<?>],
            output_types = [f32],
            metadata = ""
          } :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

              %outputs_5, %control_6 = tf_executor.island(%control_4) wraps "tf._XlaHostComputeMlir"() {host_mlir_module = "module {\0A func.func @host_func() -> tensor<1x2xf32> {\0A %0 = \22tf.Const\22() {value = dense<0.1> : tensor<1x2xf32>} : () -> tensor<1x2xf32> \0A return %0 : tensor<1x2xf32>}}", manual_sharding = true, recv_key = "host_compute_channel_1_retvals", send_key = "host_compute_channel_1_args"}...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir

      %0 = "tf.GeneratorDataset"(%arg0, %arg1, %arg2, %arg3) {
          device = "/job:tpu_host_worker/replica:0/task:0/device:CPU:0",
          finalize_func = @finalize,
          init_func = @init,
          next_func = @next,
          operandSegmentSizes = array<i32: 1, 2, 1>,
          output_shapes = [#tf_type.shape<>],
          output_types = [!tf_type.string],
          metadata = ""} : (
                  tensor<4xf32>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 21:59:28 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. src/text/template/multi_test.go

    	{"variable declared by template", `{{template "nested" $x:=.SI}},{{index $x 1}}`, "[3 4 5],4", tVal, true},
    
    	// User-defined function: test argument evaluator.
    	{"testFunc literal", `{{oneArg "joe"}}`, "oneArg=joe", tVal, true},
    	{"testFunc .", `{{oneArg .}}`, "oneArg=joe", "joe", true},
    }
    
    // These strings are also in testdata/*.
    const multiText1 = `
    	{{define "x"}}TEXT{{end}}
    	{{define "dotV"}}{{.V}}{{end}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 10:48:29 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  5. pkg/controller/daemon/util/daemonset_util_test.go

    				featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, fg, f)
    				t.Run(fmt.Sprintf("%v (%t)", fg, f), tf)
    			}()
    		}
    	}
    }
    
    func TestGetTargetNodeName(t *testing.T) {
    	testFun := func(t *testing.T) {
    		tests := []struct {
    			pod         *v1.Pod
    			nodeName    string
    			expectedErr bool
    		}{
    			{
    				pod: &v1.Pod{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "pod1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/breakup-islands.mlir

          %gen0 = "tf.GeneratorDataset"(%str, %arg0, %arg1, %arg2, %arg3) {
            finalize_func = @__finalize_func_790,
            init_func = @__init_func_530, next_func = @__next_func_680,
            next_func.experimental_ints_on_device = true,
            operandSegmentSizes = array<i32: 2, 2, 1>,
            output_shapes = [#tf_type.shape<?>],
            output_types = [f32],
            metadata = ""
          } :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 28.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

        for (Type ty : op.getResultTypes()) {
          shape_attrs.push_back(TF::ShapeAttr::get(rewriter.getContext(),
                                                   mlir::cast<ShapedType>(ty)));
        }
    
        // Clone the `host_func` in the `host_mlir_module` attribute if it exists
        // and use it for `shape_inference_graph` attribute on XlaHostCompute.
        func::FuncOp cloned_func;
        SymbolTable manager(op->getParentOfType<ModuleOp>());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/ppc64/asm_test.go

    //
    // VR and FPR disjointly overlap VSR, interpreting as VSR registers should produce the correctly overlapped VSR.
    // REG_FPx & 63 == x
    // REG_Vx & 63 == x + 32
    func TestRegValueAlignment(t *testing.T) {
    	tstFunc := func(rstart, rend, msk, rout int) {
    		for i := rstart; i <= rend; i++ {
    			if i&msk != rout {
    				t.Errorf("%v is not aligned to 0x%X (expected %d, got %d)\n", rconv(i), msk, rout, rstart&msk)
    			}
    			rout++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/expvar/expvar_test.go

    		i := int(atomic.AddInt32(&n, 1)-1) % len(procKeys)
    		keys := procKeys[i]
    
    		for pb.Next() {
    			for _, k := range keys {
    				m.Add(k, 1)
    			}
    		}
    	})
    }
    
    func TestFunc(t *testing.T) {
    	RemoveAll()
    	var x any = []string{"a", "b"}
    	f := Func(func() any { return x })
    	if s, exp := f.String(), `["a","b"]`; s != exp {
    		t.Errorf(`f.String() = %q, want %q`, s, exp)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/path/filepath/path_windows_test.go

    		if err != nil {
    			t.Errorf("toNorm(%s) failed: %v (wd=%s)\n", arg, err, wd)
    		} else if got != want {
    			t.Errorf("toNorm(%s) returns %s, but %s expected (wd=%s)\n", arg, got, want, wd)
    		}
    	}
    }
    
    func TestUNC(t *testing.T) {
    	// Test that this doesn't go into an infinite recursion.
    	// See golang.org/issue/15879.
    	defer debug.SetMaxStack(debug.SetMaxStack(1e6))
    	filepath.Glob(`\\?\c:\*`)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top