Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for _retval (0.13 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
        TFE_TensorHandle* retvals[1];
        int num_retvals = 1;
        TFE_Execute(shape_op, &retvals[0], &num_retvals, status.get());
        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
        device_type = TFE_TensorHandleDeviceType(retvals[0], status.get());
        ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K 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. src/go/constant/value.go

    func i64tor(x int64Val) ratVal   { return ratVal{newRat().SetInt64(int64(x))} }
    func i64tof(x int64Val) floatVal { return floatVal{newFloat().SetInt64(int64(x))} }
    func itor(x intVal) ratVal       { return ratVal{newRat().SetInt(x.val)} }
    func itof(x intVal) floatVal     { return floatVal{newFloat().SetInt(x.val)} }
    func rtof(x ratVal) floatVal     { return floatVal{newFloat().SetRat(x.val)} }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/c/eager/c_api_cluster_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TFE_TensorHandle* retvals[1];
      int num_retvals = 1;
      TFE_Execute(matmul, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      auto* retval_task0 =
          TFE_TensorHandleCopyToDevice(retvals[0], ctx, local_device_name, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/c/eager/gradients.cc

                   absl::Span<AbstractTensorHandle*> retvals, int* num_retvals,
                   ForwardOperation* forward_op_, Tape* tape,
                   const GradientRegistry& registry) {
      TF_RETURN_IF_ERROR(op_->Execute(retvals, num_retvals));
      for (int i = 0; i < *num_retvals; i++) {
        // TODO(srbs): Manage refcount of ForwardOperation's inputs/outputs.
        forward_op_->outputs.push_back(retvals[i]);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. 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)
Back to top