Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 103 for retval (0.15 sec)

  1. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

    // Builds XlaSendFromHost node, and replaces all _Retval nodes with it.
    absl::StatusOr<Node*> ReplaceRetNodesWithSendFromHostNode(
        Graph* g, const string& oc_cluster_name,
        std::vector<DataType>* send_from_host_dtypes, Node* key_placeholder) {
      // TODO(b/77601805): use in nodes for sink node, instead of traversing all
      // nodes.
      std::vector<Node*> ret_nodes = GatherNodesWithType(*g, "_Retval");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  2. test/range4.go

    var ncalls = 0
    
    func getvar(p *int) *int {
    	ncalls++
    	return p
    }
    
    func iter2(list ...int) func(func(int, int) bool) {
    	return func(yield func(int, int) bool) {
    		for i, x := range list {
    			if !yield(i, x) {
    				return
    			}
    		}
    	}
    }
    
    func testcalls() {
    	var i, v int
    	ncalls = 0
    	si := 0
    	sv := 0
    	for *getvar(&i), *getvar(&v) = range iter2(1, 2) {
    		si += i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 16:00:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/status/server_test.go

    			HTTPGet: &apimirror.HTTPGetAction{
    				Path: "/hello/sunnyvale",
    				Port: apimirror.IntOrString{IntVal: int32(appPort)},
    			},
    		},
    		"/app-health/hello-world/livez": &Prober{
    			HTTPGet: &apimirror.HTTPGetAction{
    				Port: apimirror.IntOrString{IntVal: int32(appPort)},
    			},
    		},
    	}
    	simpleTCPConfig := KubeAppProbers{
    		"/app-health/hello-world/readyz": &Prober{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/addons/dns/dns_test.go

    								Protocol: v1.ProtocolUDP,
    								TargetPort: intstr.IntOrString{
    									Type:   0,
    									IntVal: 53,
    								},
    							},
    							{
    								Name:     "dns-tcp",
    								Port:     53,
    								Protocol: v1.ProtocolTCP,
    								TargetPort: intstr.IntOrString{
    									Type:   0,
    									IntVal: 53,
    								},
    							},
    						},
    						Selector: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/parse_example_v2.mlir

          // CHECK-NEXT: }
    
          tf_executor.fetch %outputs_10#0 : tensor<?x2xi64>
        }
        func.return %0#0 : tensor<?x2xi64>
        // CHECK:      name: "ParseExample/ParseExampleV2"
        // CHECK-NEXT: op: "_Retval"
        // CHECK-NEXT: input: "ParseExample"
    
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/pjrt_compile_util_test.cc

      auto a = ops::_Arg(scope.WithOpName("A"), DT_INT32, 0);
      auto b = ops::_Arg(scope.WithOpName("B"), DT_INT32, 1);
      auto c = ops::Add(scope.WithOpName("C"), a, b);
      auto d = ops::_Retval(scope.WithOpName("D"), c, 0);
      TF_RETURN_IF_ERROR(scope.ToGraph(graph.get()));
      return graph;
    }
    
    StatusOr<FunctionDef> SampleFuntionAddXY(const std::string& name) {
      TF_ASSIGN_OR_RETURN(auto graph, SampleGraphAddXY());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 21 23:21:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/extract_outside_compilation_pass.h

    // following steps:
    //
    // 1. Add a XLA computation key placeholder node (it will be used as input for
    //    XlaRecvAtHost and XlaSendFromHost);
    // 2. Replace all _Arg nodes with one single XlaRecvAtHost node;
    // 3. Replace all _Retval nodes with one single XlaSendFromHost node;
    // 4. Mark all nodes except key placeholder with attr `xla_cluster_attr_name`
    //    and `outside_compilation_attr_name`;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. internal/s3select/sql/evaluate.go

    	switch rval := result.(type) {
    	case string:
    		return FromString(rval), nil
    	case float64:
    		return FromFloat(rval), nil
    	case int64:
    		return FromInt(rval), nil
    	case uint64:
    		if rval <= math.MaxInt64 {
    			return FromInt(int64(rval)), nil
    		}
    		return FromFloat(float64(rval)), nil
    	case bool:
    		return FromBool(rval), nil
    	case jstream.KVS:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 12K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_activity_listener_test.cc

          count: 4
        }
      }
      unclustered_op_histogram {
        op: "NoOp"
        count: 2
      }
      unclustered_op_histogram {
        op: "_Arg"
        count: 1
      }
      unclustered_op_histogram {
        op: "_Retval"
        count: 1
      }
    }
    )",
          &expected_auto_clustering_activity);
      EXPECT_EQ(listener()->auto_clustering_activity().DebugString(),
                expected_auto_clustering_activity.DebugString());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api.cc

                                 int* num_retvals) override {
        std::vector<TFE_TensorHandle*> outputs(*num_retvals);
        TF_Status status;
        device_.execute(tensorflow::wrap(op), num_retvals, outputs.data(), &status,
                        info_);
        if (status.status.ok()) {
          for (int i = 0; i < *num_retvals; ++i) {
            retvals[i] = tensorflow::unwrap(outputs[i]);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top