Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for _retval0 (0.16 sec)

  1. tensorflow/c/eager/c_api.h

    // Execute the operation defined by 'op' and return handles to computed
    // tensors in `retvals`.
    //
    // 'retvals' must point to a pre-allocated array of TFE_TensorHandle* and
    // '*num_retvals' should be set to the size of this array. It is an error if
    // the size of 'retvals' is less than the number of outputs. This call sets
    // *num_retvals to the number of outputs.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  2. operator/pkg/verifier/verifier.go

    	if err != nil {
    		return nil, err
    	}
    	retval := make([]*v1alpha1.IstioOperator, 0)
    	for _, un := range ul.Items {
    		fixTimestampRelatedUnmarshalIssues(&un)
    		by := util.ToYAML(un.Object)
    		iop, err := operator_istio.UnmarshalIstioOperator(by, true)
    		if err != nil {
    			return nil, err
    		}
    		retval = append(retval, iop)
    	}
    	return retval, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/yaml_test.go

    func decodeYAML(data []byte) (*unstructured.Unstructured, error) {
    	retval := &unstructured.Unstructured{Object: map[string]interface{}{}}
    	// ensure this isn't JSON
    	if json.Unmarshal(data, &retval.Object) == nil {
    		return nil, fmt.Errorf("data is JSON, not YAML: %s", string(data))
    	}
    	// ensure it is YAML
    	retval.Object = map[string]interface{}{}
    	if err := yaml.Unmarshal(data, &retval.Object); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashCode.java

              bytes.length);
          return padToLong();
        }
    
        @Override
        public long padToLong() {
          long retVal = (bytes[0] & 0xFF);
          for (int i = 1; i < Math.min(bytes.length, 8); i++) {
            retVal |= (bytes[i] & 0xFFL) << (i * 8);
          }
          return retVal;
        }
    
        @Override
        void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  5. pkg/apis/certificates/validation/validation.go

    	var retval []certificates.CertificateSigningRequestCondition
    	for i, c := range csr.Status.Conditions {
    		if c.Type == conditionType {
    			retval = append(retval, csr.Status.Conditions[i])
    		}
    	}
    	return retval
    }
    
    // getValidationOptions returns the validation options to be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/device_executable_persistor_test.cc

        if (mul) {
          auto c = ops::Mul(scope.WithOpName("C"), a, b);
          auto d = ops::_Retval(scope.WithOpName("D"), c, 0);
          TF_RETURN_IF_ERROR(scope.ToGraph(graph.get()));
        } else {
          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()));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/HashCode.java

              bytes.length);
          return padToLong();
        }
    
        @Override
        public long padToLong() {
          long retVal = (bytes[0] & 0xFF);
          for (int i = 1; i < Math.min(bytes.length, 8); i++) {
            retVal |= (bytes[i] & 0xFFL) << (i * 8);
          }
          return retVal;
        }
    
        @Override
        void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top