Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,155 for converts (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/value.go

    	case time.Time:
    		otherTimestamp := other.Value().(time.Time)
    		return celBool(v.Equal(otherTimestamp))
    	default:
    		return celBool(reflect.DeepEqual(v, other.Value()))
    	}
    }
    
    // ExprValue converts the DynValue into a CEL value.
    func (dv *DynValue) ExprValue() ref.Val {
    	return dv.exprValue
    }
    
    // Value returns the underlying value held by this reference.
    func (dv *DynValue) Value() interface{} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

      let summary = "Convert fallback tensor to corert tensorhandle";
    
      let description = [{
        Convert the fallback tensor to corert tensorhandle.
    
        args: a list of fallback tensors.
        device: the name of the tensorflow device that is associated with the
          input fallback tensors.
    
        results: the converted corert tensorhandles.
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. pkg/apis/core/v1/helper/helpers.go

    // 3. it satisfies the rules in IsQualifiedName() after converted into quota resource name
    func IsExtendedResourceName(name v1.ResourceName) bool {
    	if IsNativeResource(name) || strings.HasPrefix(string(name), v1.DefaultResourceRequestsPrefix) {
    		return false
    	}
    	// Ensure it satisfies the rules in IsQualifiedName() after converted into quota resource name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

        "].cast<IntegerAttr>().getInt())">;
    
    // Use the tensor type information from $0 and convert min $1, max $2 and
    // numBits $3 and narrowRange $4 to a QuantizedType.
    def ConvertToQuantTypeFromAttrs : NativeCodeCall<
        "quant::GetQuantizedTypeAttr($_builder, $0.getType(), $1, $2, -1, $3, $4, /*is_signed=*/false)">;
    
    // Converts an integer attribute $0 to 32-bit with builder.
    def convertIntAttrTo32Bit : NativeCodeCall<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/MoreExecutors.java

     * @author Justin Mahoney
     * @since 3.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class MoreExecutors {
      private MoreExecutors() {}
    
      /**
       * Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application
       * is complete. It does so by using daemon threads and adding a shutdown hook to wait for their
       * completion.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function.cc

      return IsRefType(dt)
                 ? InvalidArgument("Output ", idx, " of node '", node->name(),
                                   "' has a reference type ", DataTypeString(dt))
                 : absl::OkStatus();
    }
    
    // Converts `ninputs` and `inputs` into `inputs_tensors` and `input_nodes` and
    // does various checks while doing so. `input_nodes` will contain the same
    // information as input_tensors just in a different structure to make
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. operator/pkg/manifest/shared.go

    		if containParentPath(setFlags, setFlagConvertPath) {
    			var (
    				converter              = map[string]interface{}{}
    				convertedProxyMetadata = map[string]string{}
    				subPaths               = strings.Split(setFlagConvertPath, ".")
    			)
    
    			if err := yaml.Unmarshal([]byte(outYAML), &converter); err != nil {
    				return outYAML, err
    			}
    			originMap, ok := converter["spec"].(map[string]any)
    			if !ok {
    				return outYAML, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/scheme_test.go

    	if err != nil {
    		t.Fatalf("Failure: %v", err)
    	}
    	converted, ok := other.(*runtimetesting.ExternalTestType1)
    	if !ok {
    		t.Fatalf("Got wrong type: %T", other)
    	}
    	if tt.A != converted.A {
    		t.Fatalf("Failed to convert object correctly: %#v", converted)
    	}
    }
    
    type testGroupVersioner struct {
    	target schema.GroupVersionKind
    	ok     bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    	ErrorTypeInternal ErrorType = "InternalError"
    	// ErrorTypeTypeInvalid is for the value did not match the schema type for that field
    	ErrorTypeTypeInvalid ErrorType = "FieldValueTypeInvalid"
    )
    
    // String converts a ErrorType into its corresponding canonical error message.
    func (t ErrorType) String() string {
    	switch t {
    	case ErrorTypeNotFound:
    		return "Not found"
    	case ErrorTypeRequired:
    		return "Required value"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

     protected:
      int64_t& channel_id_;  // A unique channel_id shared by all rewrite patterns
                             // in this pass. Not thread-safe.
    };
    
    // Converts XlaAllReduce. Not thread-safe.
    class ConvertXlaAllReduce
        : public CollectiveRewritePattern<TF::XlaAllReduceOp> {
     public:
      using CollectiveRewritePattern::CollectiveRewritePattern;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top