Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 73 for var_ (0.04 sec)

  1. src/cmd/compile/internal/walk/builtin.go

    		init.Append(typecheck.Stmt(nif))
    
    		t = types.NewArray(t.Elem(), i) // [r]T
    		var_ := typecheck.TempAt(base.Pos, ir.CurFunc, t)
    		appendWalkStmt(init, ir.NewAssignStmt(base.Pos, var_, nil))  // zero temp
    		r := ir.NewSliceExpr(base.Pos, ir.OSLICE, var_, nil, l, nil) // arr[:l]
    		// The conv is necessary in case n.Type is named.
    		return walkExpr(typecheck.Expr(typecheck.Conv(r, n.Type())), init)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/debug/elf/file_test.go

    			{"puts", 16, 0, 0, 0, 0, "", ""},
    		},
    	},
    }
    
    func TestOpen(t *testing.T) {
    	for i := range fileTests {
    		tt := &fileTests[i]
    
    		var f *File
    		var err error
    		if path.Ext(tt.file) == ".gz" {
    			var r io.ReaderAt
    			if r, err = decompress(tt.file); err == nil {
    				f, err = NewFile(r)
    			}
    		} else {
    			f, err = Open(tt.file)
    		}
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/hoist_loop_invariant.mlir

    // conditions are also hoisted (i.e., `tf.Add` and `tf.Mul`).
    // Another variable `%var2` which has a different resource handle is not
    // readonly.
    
    // CHECK-LABEL: readvariableop_is_hoisted_if_readonly2
    // CHECK:       [[CST_0:%.*]] = "tf.Const"
    // CHECK:       [[VAR_1:%.*]] = "tf.VarHandleOp"
    // CHECK-SAME:  "shared_name_var1"
    // CHECK:       [[VAR_2:%.*]] = "tf.VarHandleOp"
    // CHECK-SAME:  "shared_name_var2"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 22 17:12:02 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  4. pkg/kube/inject/webhook_test.go

    		store.Create(newProxyConfig(fmt.Sprintf("pc-%d", i), "istio-system", &v1beta12.ProxyConfig{
    			Concurrency: &wrapperspb.Int32Value{Value: int32(i % 5)},
    			EnvironmentVariables: map[string]string{
    				fmt.Sprintf("VAR_%d", i): fmt.Sprint(i),
    			},
    		}))
    	}
    	pcs := model.GetProxyConfigs(store, m)
    	env := model.Environment{
    		Watcher:     mesh.NewFixedWatcher(m),
    		ConfigStore: store,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 39K bytes
    - Viewed (1)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_mark_initialized_variables.mlir

        func.return %4 : tensor<100x50xf32>
      }
      // CHECK: "tf.VarHandleOp"
      // CHECK-SAME: shared_name = "var1"
      // CHECK-SAME: _is_initialized = true
      // CHECK: "tf.VarHandleOp"
      // CHECK-SAME: shared_name = "var2"
      // CHECK-SAME: _is_initialized = true
      // CHECK: "tf.VarHandleOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

      // Create 2 resources and initialize them with dummy values.
      TF_CHECK_OK(device->resource_manager()->Create(
          container, "var1", new tensorflow::Var(tensorflow::DataType::DT_FLOAT)));
      TF_CHECK_OK(device->resource_manager()->Create(
          container, "var2", new tensorflow::Var(tensorflow::DataType::DT_FLOAT)));
    }
    
    Status FakeSession::Create(const tensorflow::GraphDef& graph) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_restore_op.mlir

        %var_0 = "tf.VarHandleOp"() {shared_name = "var_0"} : () -> tensor<!tf_type.resource<tensor<2xf32>>>
        "tf.AssignVariableOp"(%var_0, %cst_0) : (tensor<!tf_type.resource<tensor<2xf32>>>, tensor<2xf32>) -> ()
    
        %var_1 = "tf.VarHandleOp"() {shared_name = "var_1"} : () -> tensor<!tf_type.resource<tensor<2xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml

        - five
        - six
        - seven
        - eight
        - nine
        env:
        - name: VAR_3
          valueFrom:
            secretKeyRef:
              key: some-other-key
              name: some-oher-name
        - name: VAR_2
          valueFrom:
            secretKeyRef:
              key: other-key
              name: other-name
        - name: VAR_1
          valueFrom:
            secretKeyRef:
              key: some-key
              name: some-name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/pod.yaml

        - five
        - six
        - seven
        - eight
        - nine
        env:
        - name: VAR_3
          valueFrom:
            secretKeyRef:
              key: some-other-key
              name: some-oher-name
        - name: VAR_2
          valueFrom:
            secretKeyRef:
              key: other-key
              name: other-name
        - name: VAR_1
          valueFrom:
            secretKeyRef:
              key: some-key
              name: some-name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 25 19:51:58 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_save_op.mlir

        %var_0 = "tf.VarHandleOp"() {shared_name = "var_0"} : () -> tensor<!tf_type.resource<tensor<2xf32>>>
        "tf.AssignVariableOp"(%var_0, %cst_0) : (tensor<!tf_type.resource<tensor<2xf32>>>, tensor<2xf32>) -> ()
        %cst_1 = "tf.Const"() {value = dense<2.000000e+00> : tensor<3xf32>} : () -> tensor<3xf32>
        %var_1 = "tf.VarHandleOp"() {shared_name = "var_1"} : () -> tensor<!tf_type.resource<tensor<3xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top