Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for _retval (0.11 sec)

  1. pkg/kubelet/container/helpers.go

    // Note: this list must be updated if ever kubelet wants to allow mutations to other fields.
    func pickFieldsToHash(container *v1.Container) map[string]string {
    	retval := map[string]string{
    		"name":  container.Name,
    		"image": container.Image,
    	}
    	return retval
    }
    
    // envVarsToMap constructs a map of environment name to value from a slice
    // of env vars.
    func envVarsToMap(envs []EnvVar) map[string]string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/c/eager/c_api_unified_experimental_graph.cc

          }
          tf_outputs[i] = t->output_;
        }
        TF_AddInputList(op_.get(), tf_outputs.data(), tf_outputs.size());
        return absl::OkStatus();
      }
      Status Execute(absl::Span<AbstractTensorHandle*> retvals,
                     int* num_retvals) override {
        auto* tf_opdesc = op_.release();
        if (tf_opdesc == nullptr) {
          return errors::InvalidArgument("AbstractOp is incomplete.");
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      llvm::SmallVector<std::tuple<int64_t, int64_t, bool>, 8>
          output_buffer_to_size;
      for (auto retval : llvm::enumerate(old_terminator->getOperands())) {
        auto it = buffer_to_size.find(retval.value());
        if (it == buffer_to_size.end()) continue;
        output_buffer_to_size.emplace_back(retval.index(), new_outputs.size(),
                                           it->getSecond().fixed);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  6. 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)
  7. pkg/controller/volume/persistentvolume/provision_test.go

    	ctrl, err := newTestController(ctx, nil, nil, false)
    	if err != nil {
    		t.Fatalf("Construct PersistentVolume controller failed: %v", err)
    	}
    	retVal := ctrl.provisionClaim(ctx, nil)
    	if retVal != nil {
    		t.Errorf("Expected nil return but got %v", retVal)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/kubeinject.go

    			if err != nil {
    				return err
    			}
    			retval := inject.IntoResourceFile(injector, templs, vc, rev, meshConfig,
    				reader, writer, func(warning string) {
    					warnings = append(warnings, warning)
    				})
    			if len(warnings) > 0 {
    				fmt.Fprintln(c.ErrOrStderr())
    			}
    			for _, warning := range warnings {
    				fmt.Fprintln(c.ErrOrStderr(), warning)
    			}
    			return retval
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. src/go/types/builtins.go

    		if resTyp == nil {
    			code := InvalidImag
    			if id == _Real {
    				code = InvalidReal
    			}
    			check.errorf(x, code, invalidArg+"argument has type %s, expected complex type", x.typ)
    			return
    		}
    
    		// if the argument is a constant, the result is a constant
    		if x.mode == constant_ {
    			if id == _Real {
    				x.val = constant.Real(x.val)
    			} else {
    				x.val = constant.Imag(x.val)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. 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)
Back to top