Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for retval (0.27 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

                                  PatternRewriter &rewriter) {
      if (concat.getVal().size() < 2)
        return rewriter.notifyMatchFailure(
            concat, "Concatenate op should have at least two operands");
    
      auto first = concat.getVal()[0].getDefiningOp<mhlo::SliceOp>();
      auto second = concat.getVal()[1].getDefiningOp<mhlo::SliceOp>();
      if (!first || !second)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

    }
    
    Status MlirAbstractOp::Execute(absl::Span<AbstractTensorHandle*> retvals,
                                   int* num_retvals) {
      OperationState* state;
      TF_RETURN_IF_ERROR(Create(operands_, &state));
      Operation* op = function_context_->CreateOperationFromState(*state);
      *num_retvals = op->getNumResults();
      for (int i = 0; i < *num_retvals; i++)
        retvals[i] = new MlirTensor(op->getResult(i));
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

        return op.emitOpError(
            llvm::formatv(kBadArrayAttrLengthMsg, tensorflow::kOutputShardingAttr,
                          op.getNumResults(), output_shardings.size()));
    
      // Set retvals metadata in proto.
      for (auto output_sharding_and_idx : llvm::enumerate(output_shardings))
        if (failed(SetOpSharding(op, output_sharding_and_idx.value(),
                                 tensorflow::kOutputShardingAttr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/flag/flag.go

    		panic("variable value type must be a pointer")
    	}
    	defVal := reflect.ValueOf(val)
    	if defVal.Kind() == reflect.Ptr {
    		defVal = defVal.Elem()
    	}
    	if defVal.Type() != ptrVal.Type().Elem() {
    		panic(fmt.Sprintf("default type does not match variable type: %v != %v", defVal.Type(), ptrVal.Type().Elem()))
    	}
    	ptrVal.Elem().Set(defVal)
    	return textValue{p}
    }
    
    func (v textValue) Set(s string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

        func.func @main(%arg0: tensor<3x3x10xbf16>, %arg1: tensor<3xi32>) -> tensor<1x?x4xbf16> attributes {allow_soft_placement = false, tf.entry_function = {control_outputs = "", inputs = "_arg0,_arg1,_arg2", outputs = "_retval0"}} {
          %cst = "tf.Const"() {value = dense<[1, -1, 4]> : tensor<3xi32>} : () -> tensor<3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. pkg/bootstrap/config.go

    	for _, e := range envs {
    		if !shouldExtract(e, prefix) {
    			continue
    		}
    		v := e[metaPrefixLen:]
    		if !isEnvVar(v) {
    			continue
    		}
    		metaKey, metaVal := parseEnvVar(v)
    		set(meta, metaKey, metaVal)
    	}
    }
    
    func shouldExtract(envVar, prefix string) bool {
    	return strings.HasPrefix(envVar, prefix)
    }
    
    func isEnvVar(str string) bool {
    	return strings.Contains(str, "=")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. pkg/config/analysis/msg/messages.gen.go

    // NewReferencedResourceNotFound returns a new diag.Message based on ReferencedResourceNotFound.
    func NewReferencedResourceNotFound(r *resource.Instance, reftype string, refval string) diag.Message {
    	return diag.NewMessage(
    		ReferencedResourceNotFound,
    		r,
    		reftype,
    		refval,
    	)
    }
    
    // NewNamespaceNotInjected returns a new diag.Message based on NamespaceNotInjected.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 43.2K bytes
    - Viewed (0)
Back to top